Support mobile in DingTalk userinfo

This commit is contained in:
Yang Luo
2023-04-29 01:11:58 +08:00
parent fba4801a41
commit 3a6ab4cfc6
4 changed files with 32 additions and 4 deletions

View File

@ -458,6 +458,9 @@ func (c *ApiController) Login() {
Avatar: userInfo.AvatarUrl,
Address: []string{},
Email: userInfo.Email,
Phone: userInfo.Phone,
CountryCode: userInfo.CountryCode,
Region: userInfo.CountryCode,
Score: initScore,
IsAdmin: false,
IsGlobalAdmin: false,