app_user添加户籍地和地址

This commit is contained in:
sh
2025-11-21 14:17:51 +08:00
parent 29fd6d715e
commit ee9af47af6
2 changed files with 9 additions and 1 deletions

View File

@@ -270,7 +270,7 @@ public class OauthLoginHlwService {
AppUser appUserParm=new AppUser();
appUserParm.setIsRecommend(1);
//pc端
String localUsername=StringUtil.USER_KEY+wwTyInfo.getIdno();
String localUsername="";
SysUser sysUser=new SysUser();
switch (wwTyInfo.getUsertype()){
case "1":
@@ -281,6 +281,7 @@ public class OauthLoginHlwService {
appUserParm.setPhone(wwTyInfo.getPhone());
appUserParm.setIdCard(wwTyInfo.getIdno());
appUserParm.setName(wwTyInfo.getName());
localUsername=StringUtil.USER_KEY+wwTyInfo.getIdno();
break;
default:
sysUser.setNickName(wwTyInfo.getEnterprisename());
@@ -292,6 +293,7 @@ public class OauthLoginHlwService {
appUserParm.setPhone(wwTyInfo.getPhone());
appUserParm.setIdCard(wwTyInfo.getEnterprisecode());
appUserParm.setName(wwTyInfo.getEnterprisename());
localUsername=StringUtil.USER_KEY+wwTyInfo.getEnterprisecode();
}
//查询用户角色
sysUser.setUserName(localUsername);