Browse Source

修改撤回订单

dddmo 7 tháng trước cách đây
mục cha
commit
1152b9b2c8
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      app/JsonRpc/OrderService.php

+ 3 - 0
app/JsonRpc/OrderService.php

@@ -650,6 +650,9 @@ class OrderService implements OrderServiceInterface
             'order' => $order,
             'ads' => $ads,
         ];
+        if($order==0){
+            return Result::error("此订单不可撤回");
+        }
         return Result::success($result);
     }
     /**