mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-13 07:59:20 +00:00
Fix人工支付开启时购买套餐被错误拒绝
This commit is contained in:
@@ -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' => '订单创建失败:系统并未开启在线支付功能']);
|
||||
}
|
||||
|
||||
|
||||
BIN
public/assets/images/help/作者要饭求放过.PNG
Normal file
BIN
public/assets/images/help/作者要饭求放过.PNG
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 188 KiB |
@@ -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;
|
||||
}
|
||||
</style>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div id="ad">
|
||||
<button class="btn btn-icon btn-default" type="button" onclick="document.getElementById('ad').style.display = 'none'">
|
||||
<i class="icon wb-close"></i>
|
||||
</button>
|
||||
<img src="{{asset('assets/images/help/作者要饭求放过.PNG')}}" class="w-lg-250 w-150" alt="">
|
||||
</div>
|
||||
<div class="page-content container">
|
||||
<div class="panel panel-bordered">
|
||||
<div class="panel-heading">
|
||||
|
||||
Reference in New Issue
Block a user