shish 4 tháng trước cách đây
mục cha
commit
959ac09948
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      app-ghs/controllers/OrderController.php

+ 3 - 0
app-ghs/controllers/OrderController.php

@@ -3047,6 +3047,9 @@ class OrderController extends BaseController
         if (empty($order)) {
             util::fail('没有找到订单');
         }
+        if ($order->payStatus == 0) {
+            util::fail('订单没有付款');
+        }
         $ext = $this->shopExt;
         $shop = $this->shop;
         OrderClass::printLogisticsLabel($order, $shop, $ext);