Merge branch 'develop'
# Conflicts: # app/common/controller/NotifyController.php # app/common/service/UserService.php # app/crm/service/CustomerService.php # config/constants/Constants.php
This commit is contained in:
@@ -54,6 +54,7 @@ class UserService
|
||||
$ossservice = new OssService();
|
||||
return [
|
||||
'id' => $user->id,
|
||||
'sn' => $user->sn,
|
||||
'name' => $user->name,
|
||||
'position' => $user->position,
|
||||
'socialize' => $user->socialize,
|
||||
@@ -62,10 +63,11 @@ class UserService
|
||||
'country_id' => $user->country_id,
|
||||
'country_txt' => Country::where('id',$user->country_id)->value('cn_addr'),
|
||||
'avatar' => $user->avatar,
|
||||
'avatar_full' => (!empty($user->avatar))?$ossservice->generatePrivateUrl($user->avatar):'',
|
||||
'avatar_full' => $user->avatar,
|
||||
'phone' => $user->phone,
|
||||
'corp_name' => $corp_name,
|
||||
'email' => $user->email,
|
||||
'sex' => $user->sex,
|
||||
'status' => $user->status,
|
||||
'roles' => $user->roles->pluck('name')
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user