正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -1483,7 +1483,7 @@ class Order extends Api | @@ -1483,7 +1483,7 @@ class Order extends Api | ||
1483 | { | 1483 | { |
1484 | $user_id = $this->getUserId(); | 1484 | $user_id = $this->getUserId(); |
1485 | $order_id = $this->request->param('order_id'); | 1485 | $order_id = $this->request->param('order_id'); |
1486 | - $orderModel = new Order(); | 1486 | + $orderModel = new \app\api\model\Order(); |
1487 | $where['user_id'] = ['eq', $user_id]; | 1487 | $where['user_id'] = ['eq', $user_id]; |
1488 | $where['id'] = ['eq', $order_id]; | 1488 | $where['id'] = ['eq', $order_id]; |
1489 | $data = $orderModel->where($where)->field('shipper_code,logistic_code')->find(); | 1489 | $data = $orderModel->where($where)->field('shipper_code,logistic_code')->find(); |
-
请 注册 或 登录 后发表评论