作者 sgj
1 个管道 的构建 通过 耗费 0 秒

modify the user charge

@@ -232,7 +232,7 @@ class UsersController extends HomeBaseController{ @@ -232,7 +232,7 @@ class UsersController extends HomeBaseController{
232 232
233 public function getOrderById1(){ 233 public function getOrderById1(){
234 $users_id=$this->request->param('users_id'); 234 $users_id=$this->request->param('users_id');
235 - $order= Db::name('order')->field('order_no,users_id,start_time')->where(['users_id'=>$users_id,'state'=>1])->find(); 235 + $order= Db::name('order')->field('order_no,users_id,start_time')->where(['users_id'=>$users_id,'state'=>1,'type'=>1])->find();
236 if (empty($order)){ 236 if (empty($order)){
237 $this->apiResponse(200,'没有未完成订单'); 237 $this->apiResponse(200,'没有未完成订单');
238 } 238 }