wesmiler 3 months ago
parent
commit
9a55717334
1 changed files with 0 additions and 11 deletions
  1. 0 11
      app/Http/Controllers/Api/v1/OrderController.php

+ 0 - 11
app/Http/Controllers/Api/v1/OrderController.php

@@ -20,17 +20,6 @@ class OrderController extends webApp
      */
     public function index()
     {
-        $userInfo = MemberService::make()->getInfo($this->userId);
-        $confirmStatus = isset($userInfo['confirm_status']) ? $userInfo['confirm_status'] : 0;
-        $pickerStatus = isset($userInfo['picker_status']) ? $userInfo['picker_status'] : 0;
-        if ($confirmStatus != 1) {
-            return message(2043, false, [], 405);
-        }
-
-        if ($pickerStatus != 1) {
-            return message(2063, false, [], 406);
-        }
-
         $params = request()->post();
         $pageSize = request()->post('pageSize', 15);
         $params['user_id'] = $this->userId;