作者 董瑞恩
1 个管道 的构建 通过 耗费 0 秒

interface

@@ -154,7 +154,7 @@ class UsersController extends HomeBaseController{ @@ -154,7 +154,7 @@ class UsersController extends HomeBaseController{
154 154
155 public function getOrderById2(){ 155 public function getOrderById2(){
156 $users_id=$this->request->param('users_id'); 156 $users_id=$this->request->param('users_id');
157 - $order= Db::name('order')->field('order_no,users_id,start_time')->where(['users_id'=>$users_id,'state'=>2])->find(); 157 + $order= Db::name('order')->where(['users_id'=>$users_id,'state'=>2])->find();
158 if (empty($order)){ 158 if (empty($order)){
159 $this->apiResponse(200,'没有未支付订单'); 159 $this->apiResponse(200,'没有未支付订单');
160 } 160 }