...
|
...
|
@@ -269,7 +269,7 @@ class UsersController extends HomeBaseController{ |
|
|
|
|
|
public function getOrderById2(){
|
|
|
$users_id=$this->request->param('users_id');
|
|
|
$order= Db::name('order')->where(['users_id'=>$users_id,'state'=>2])->find();
|
|
|
$order= Db::name('order')->where(['users_id'=>$users_id,'state'=>2,'type'=>'1'])->find();
|
|
|
|
|
|
if (empty($order)){
|
|
|
$this->apiResponse(200,'没有未支付订单');
|
...
|
...
|
|