|
@@ -28,8 +28,8 @@ class PaymentOrder extends Controller
|
|
|
'pay_data' => ['required', 'string'],
|
|
'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'])
|
|
PaymentOrderModel::whereIn('id', $params['ids'])
|
|
|
->where('payment_type', $params['payment_type'])
|
|
->where('payment_type', $params['payment_type'])
|