...
|
...
|
@@ -41,6 +41,12 @@ class AdminUsersController extends AdminBaseController{ |
|
|
->join('equipment e','o.eq_name=e.name')
|
|
|
->where(['o.users_id'=>$item['id'],'o.state'=>1])->find()['serial_number'];
|
|
|
}
|
|
|
$re=Db::name('order')->where(['type'=>2,'state'=>3,'users_id'=>$item['id']])->find();
|
|
|
if ($re){
|
|
|
$item['recharge']=1;
|
|
|
}else{
|
|
|
$item['recharge']=1;
|
|
|
}
|
|
|
return $item;
|
|
|
});
|
|
|
$data->appends($param);
|
...
|
...
|
|