|
|
|
@ -85,6 +85,8 @@ class VerificationController extends Controller |
|
|
|
->where(['verify_code' => $verify_code])->find($id); |
|
|
|
if (!$order) { |
|
|
|
return $this->error($input_verify_code . "核销码不存在或订单状态不允许核销"); |
|
|
|
} else if ($order->audit_status != 1) { |
|
|
|
return $this->error('供应商还未审核该订单,不允许核销'); |
|
|
|
} |
|
|
|
|
|
|
|
$user = User::find($this->user_id); |
|
|
|
|