feat(UserCreateLogLists.php): 修改用户创建日志列表查询
This commit is contained in:
parent
a1c3de68db
commit
a8d4e200c4
@ -49,13 +49,13 @@ class UserCreateLogLists extends BaseAdminDataLists implements ListsSearchInterf
|
|||||||
->limit($this->limitOffset, $this->limitLength)
|
->limit($this->limitOffset, $this->limitLength)
|
||||||
->order(['id' => 'desc'])
|
->order(['id' => 'desc'])
|
||||||
->select()->each(function ($item){
|
->select()->each(function ($item){
|
||||||
$data['ship_name']='';
|
$item['ship_name']='';
|
||||||
$data['mobile']='';
|
$item['mobile']='';
|
||||||
$data['nickname']='';
|
$item['nickname']='';
|
||||||
$find =User::where('id',$item['uid'])->find();
|
$find =User::where('id',$item['uid'])->find();
|
||||||
if($find &&$find['user_ship']>0){
|
if($find &&$find['user_ship']>0){
|
||||||
$data['ship_name']=UserShip::where('id',$find['user_ship'])->value('title');
|
$item['ship_name']=UserShip::where('id',$find['user_ship'])->value('title');
|
||||||
$data['mobile']=$find['mobile'];
|
$item['mobile']=$find['mobile'];
|
||||||
$item['nickname'] = User::where('id',$item['uid'])->value('real_name');
|
$item['nickname'] = User::where('id',$item['uid'])->value('real_name');
|
||||||
}
|
}
|
||||||
$item['system_store_name'] = SystemStore::where('id',$item['store_id'])->value('name');
|
$item['system_store_name'] = SystemStore::where('id',$item['store_id'])->value('name');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user