فهرست منبع

修改人工充值

lip 5 ساعت پیش
والد
کامیت
dbc31dc535
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      app/Http/Controllers/admin/PaymentOrder.php

+ 2 - 2
app/Http/Controllers/admin/PaymentOrder.php

@@ -28,8 +28,8 @@ class PaymentOrder extends Controller
                 'pay_data' => ['required', 'string'],
             ]);
 
-            $count = PaymentOrderModel::whereIn('id', $params['ids'])->where('payment_type', $params['payment_type'])->where('status', 0)->count();
-            if ($count != count($params['ids'])) throw new Exception('数据匹配异常,请刷新页面重试!', HttpStatus::CUSTOM_ERROR);
+            // $count = PaymentOrderModel::whereIn('id', $params['ids'])->where('payment_type', $params['payment_type'])->where('status', 0)->count();
+            // if ($count != count($params['ids'])) throw new Exception('数据匹配异常,请刷新页面重试!', HttpStatus::CUSTOM_ERROR);
             
             PaymentOrderModel::whereIn('id', $params['ids'])
                 ->where('payment_type', $params['payment_type'])