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