|
|
@@ -104,12 +104,12 @@ class PurchaseController extends BaseController
|
|
|
$info = PurchaseClass::getByCondition(['orderSn' => $orderSn], true);
|
|
|
PurchaseService::valid($info, $this->shopId);
|
|
|
|
|
|
- if ($info->status == 5) {
|
|
|
- util::fail('订单已取消');
|
|
|
- }
|
|
|
- if ($info->status == 1) {
|
|
|
- util::fail('订单不是待付款状态');
|
|
|
- }
|
|
|
+// if ($info->status != 5) {
|
|
|
+// util::fail('订单已取消');
|
|
|
+// }
|
|
|
+// if ($info->status != 1) {
|
|
|
+// util::fail('订单不是待付款状态');
|
|
|
+// }
|
|
|
|
|
|
$ghsId = $info->ghsId;
|
|
|
$ghs = GhsClass::getGhsInfo($ghsId);
|