@@ -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' => '订单创建失败:系统并未开启在线支付功能']);
}
@@ -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">