shish 4 سال پیش
والد
کامیت
237e1fa65f
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      console/controllers/OrderItemController.php

+ 1 - 0
console/controllers/OrderItemController.php

@@ -25,6 +25,7 @@ class OrderItemController extends Controller
                 $order = OrderClass::getByCondition(['orderSn' => $orderSn], true);
                 if (empty($order)) {
                     echo "{$orderSn} 没有找到订单\n";
+                    continue;
                 }
                 $sjId = $order->sjId ?? 0;
                 $shopId = $order->shopId ?? 0;