Guos пре 3 недеља
родитељ
комит
a0021f3f68

+ 5 - 1
fs-user-app/src/main/java/com/fs/app/controller/store/StoreOrderScrmController.java

@@ -1196,7 +1196,11 @@ public class StoreOrderScrmController extends AppBaseController {
         if (order.getStatus() <2) {
             throw new CustomException("未发货订单不能查询");
         }
-        return orderService.getExpress(order);
+        try {
+            return orderService.getExpress(order);
+        }catch (Exception e){
+            return R.ok().put("deliveryId", order.getDeliveryId());
+        }
     }