|
|
@@ -60,7 +60,7 @@ class PaymentOrder extends Controller
|
|
|
$remark = $params['remark'] ?? '';
|
|
|
$info = PaymentOrderModel::find($params['id']);
|
|
|
if (!$info) throw new Exception('数据不存在', HttpStatus::CUSTOM_ERROR);
|
|
|
- if ($info->status != 1) throw new Exception('数据已处理', HttpStatus::CUSTOM_ERROR);
|
|
|
+ if ($info->status != 4) throw new Exception('用户未提交充值凭证', HttpStatus::CUSTOM_ERROR);
|
|
|
if ($info->payment_type == 0) throw new Exception('当前订单非人工充值,无法操作', HttpStatus::CUSTOM_ERROR);
|
|
|
if ($params['status'] == 3) {
|
|
|
if (empty($remark)) {
|