zhangguidong 2 years ago
parent
commit
bfb980bd62
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/data/controller/api/Order.php

+ 1 - 1
app/data/controller/api/Order.php

@@ -165,7 +165,7 @@ class Order extends Auth
      * @Param ("status",desc="1全部 2 待支付 3代发货 4 待收货 5退款/已退款")
      */
     public function order_list(){
-        $user = ['id'=>46];
+        $user = $this->getUser();
         $status = input('status',1);
         if(!empty($status)){
             switch ($status){