master
wangxinglong 2022-03-15 14:16:31 +08:00
parent 307b511ea1
commit 12a55a13a4
1 changed files with 2 additions and 0 deletions

View File

@ -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,