|
|
|
@ -22,7 +22,7 @@ class VerificationController extends Controller |
|
|
|
if (!$order) { |
|
|
|
return $this->error('订单不存在或无权限'); |
|
|
|
} |
|
|
|
if (!in_array($order->status, [OrderStatus::PAID, OrderStatus::PAY_RETAINAGE])) { |
|
|
|
if (!in_array($order->status, [OrderStatus::PAID, OrderStatus::PAY_RETAINAGE, OrderStatus::OFFLINE_UNPAID])) { |
|
|
|
return $this->error('当前订单状态不允许核销'); |
|
|
|
} |
|
|
|
$order->status = 16; |
|
|
|
|