|
@@ -487,7 +487,7 @@ class OrderService extends BaseService
|
|
|
return ['code' => 1, 'msg' => '订单不存在'];
|
|
return ['code' => 1, 'msg' => '订单不存在'];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- if ($order->status != 2) {
|
|
|
|
|
|
|
+ if ($order->status == 1) {
|
|
|
return ['code' => 1, 'msg' => '订单状态不正确,只有已付款订单可以上传发票'];
|
|
return ['code' => 1, 'msg' => '订单状态不正确,只有已付款订单可以上传发票'];
|
|
|
}
|
|
}
|
|
|
|
|
|