...
|
...
|
@@ -36,7 +36,7 @@ class AdminUsersController extends AdminBaseController{ |
|
|
$users=new UsersModel();
|
|
|
$data=$users->where($where)->order('create_time','desc')->paginate(10)->each(function ($item) {
|
|
|
if ($item['is_use']==1){
|
|
|
$item['eq']=Db::name('order')->where(['users_id'=>$item['id'],'status'=>1])->find()['eq_name'];
|
|
|
$item['eq']=Db::name('order')->where(['users_id'=>$item['id'],'state'=>1])->find()['eq_name'];
|
|
|
}
|
|
|
return $item;
|
|
|
});
|
...
|
...
|
|