Browse Source

fix:验收格式

super-yimizi 1 month ago
parent
commit
825ac87cea
1 changed files with 0 additions and 5 deletions
  1. 0 5
      application/api/controller/inspection/Order.php

+ 0 - 5
application/api/controller/inspection/Order.php

@@ -130,11 +130,6 @@ class Order extends Base
           $order = $orderData['order'];
           $orderGoods = $orderData['order_goods'];
           
-          // 验证权限(根据业务需求,这里可能需要验证供应商权限而不是用户权限)
-          if ($order->user_id != $this->auth->id) {
-              $this->error('该订单不属于当前用户');
-          }
-          
           $expressName = trim($params['express_name'] ?? '');
           $expressNo = trim($params['express_no'] ?? '');
           $expressImage = $params['express_image'] ?? [];