Update StripeALLInOne.php
修复部分报错语句不规范
This commit is contained in:
@@ -102,7 +102,7 @@ class StripeALLInOne {
|
|||||||
$jumpUrl = $nextAction['alipay_handle_redirect']['url'];
|
$jumpUrl = $nextAction['alipay_handle_redirect']['url'];
|
||||||
$actionType = 1;
|
$actionType = 1;
|
||||||
}else {
|
}else {
|
||||||
throw new ApiException('unable get alipay redirect url', 500);
|
throw new ApiException('unable get Alipay redirect url', 500);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "wechat_pay":
|
case "wechat_pay":
|
||||||
@@ -110,7 +110,7 @@ class StripeALLInOne {
|
|||||||
$jumpUrl = $nextAction['wechat_pay_display_qr_code']['data'];
|
$jumpUrl = $nextAction['wechat_pay_display_qr_code']['data'];
|
||||||
Log::info($jumpUrl);
|
Log::info($jumpUrl);
|
||||||
}else {
|
}else {
|
||||||
throw new ApiException('unable get alipay redirect url', 500);
|
throw new ApiException('unable get WeChat Pay redirect url', 500);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return [
|
return [
|
||||||
|
|||||||
Reference in New Issue
Block a user