diff --git a/app/Http/Controllers/PaymentController.php b/app/Http/Controllers/PaymentController.php index 1d3b4d79..e548663e 100644 --- a/app/Http/Controllers/PaymentController.php +++ b/app/Http/Controllers/PaymentController.php @@ -140,7 +140,7 @@ class PaymentController extends Controller //非余额付款下,检查在线支付是否开启 if (self::$method !== 'credit') { // 判断是否开启在线支付 - if (! sysConfig('is_onlinePay')) { + if (! sysConfig('is_onlinePay') && ! sysConfig('wechat_qrcode') && ! sysConfig('alipay_qrcode')) { return Response::json(['status' => 'fail', 'message' => '订单创建失败:系统并未开启在线支付功能']); } diff --git a/public/assets/images/help/作者要饭求放过.PNG b/public/assets/images/help/作者要饭求放过.PNG new file mode 100644 index 00000000..0ef7663f Binary files /dev/null and b/public/assets/images/help/作者要饭求放过.PNG differ diff --git a/resources/views/user/components/payment/manual.blade.php b/resources/views/user/components/payment/manual.blade.php index f7454077..2e9cd442 100644 --- a/resources/views/user/components/payment/manual.blade.php +++ b/resources/views/user/components/payment/manual.blade.php @@ -9,10 +9,30 @@ .hide { display: none; } + + #ad { + position: fixed; + z-index: 9999; + right: 30px; + bottom: 30px; + margin-left: 535px; + } + + #ad > button { + position: absolute; + right: 0; + top: 0; + } @endsection @section('content') +