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

modify the user charge

... ... @@ -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{
... ...