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