From a8d4e200c47527b910af9b5dfa510650842210b4 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Mon, 1 Jul 2024 15:56:23 +0800 Subject: [PATCH] =?UTF-8?q?feat(UserCreateLogLists.php):=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E7=94=A8=E6=88=B7=E5=88=9B=E5=BB=BA=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/lists/user_create_log/UserCreateLogLists.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/api/lists/user_create_log/UserCreateLogLists.php b/app/api/lists/user_create_log/UserCreateLogLists.php index bb88d1ed0..fc9d05a73 100644 --- a/app/api/lists/user_create_log/UserCreateLogLists.php +++ b/app/api/lists/user_create_log/UserCreateLogLists.php @@ -49,13 +49,13 @@ class UserCreateLogLists extends BaseAdminDataLists implements ListsSearchInterf ->limit($this->limitOffset, $this->limitLength) ->order(['id' => 'desc']) ->select()->each(function ($item){ - $data['ship_name']=''; - $data['mobile']=''; - $data['nickname']=''; + $item['ship_name']=''; + $item['mobile']=''; + $item['nickname']=''; $find =User::where('id',$item['uid'])->find(); if($find &&$find['user_ship']>0){ - $data['ship_name']=UserShip::where('id',$find['user_ship'])->value('title'); - $data['mobile']=$find['mobile']; + $item['ship_name']=UserShip::where('id',$find['user_ship'])->value('title'); + $item['mobile']=$find['mobile']; $item['nickname'] = User::where('id',$item['uid'])->value('real_name'); } $item['system_store_name'] = SystemStore::where('id',$item['store_id'])->value('name');