...
|
...
|
@@ -72,7 +72,7 @@ class UsersController extends HomeBaseController{ |
|
|
'is_use'=>$users['is_use'],
|
|
|
'is_deposit' => $users['is_deposit']
|
|
|
];
|
|
|
$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)){
|
|
|
$data['is_order']=0;
|
|
|
}else{
|
...
|
...
|
|