mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-05-24 15:56:44 +08:00
Update PaymentService.php
This commit is contained in:
parent
df3fb4c2dc
commit
de46b9a862
@ -121,7 +121,7 @@ abstract class PaymentService extends Service
|
|||||||
if (empty($payment)) {
|
if (empty($payment)) {
|
||||||
throw new \think\Exception("支付通道[#{$paycode}]已关闭");
|
throw new \think\Exception("支付通道[#{$paycode}]已关闭");
|
||||||
}
|
}
|
||||||
static::$config = json_decode(static::$config['content'], true);
|
static::$config = @json_decode($payment['content'], true);
|
||||||
if (empty(static::$config)) {
|
if (empty(static::$config)) {
|
||||||
throw new \think\Exception("支付通道[#{$paycode}]配置无效");
|
throw new \think\Exception("支付通道[#{$paycode}]配置无效");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user