setter
parent
307b511ea1
commit
12a55a13a4
|
@ -171,6 +171,7 @@ class User extends Base
|
|||
$businessRes = [
|
||||
'avatar' => File::convertCompleteFileUrl($account['avatar_url']),
|
||||
'nickName' => $account['nick_name'],
|
||||
'user_code' => $account['user_code'],
|
||||
'userType' => $account['type'],
|
||||
'userTypeDes' => Account::accountTypeDescList()[$account['type']] ?? '游客',
|
||||
'couponCount' => 0,
|
||||
|
@ -195,6 +196,7 @@ class User extends Base
|
|||
$personalRes = [
|
||||
'avatar' => File::convertCompleteFileUrl($account['avatar_url']),
|
||||
'nickName' => $account['nick_name'],
|
||||
'user_code' => $account['user_code'],
|
||||
'userType' => $account['type'],
|
||||
'userTypeDes' => Account::accountTypeDescList()[$account['type']] ?? '游客',
|
||||
'couponCount' => $couponCount,
|
||||
|
|
Loading…
Reference in New Issue