Commit 59b241b3 authored by 唐峰's avatar 唐峰

Merge branch 'feature-migration-20230628' of...

Merge branch 'feature-migration-20230628' of git.quantgroup.cn:head_group/xyqb-user2 into feature-migration-20230628
parents 660b9156 b53f8ec0
...@@ -26,6 +26,6 @@ public class OauthApiV2Controller { ...@@ -26,6 +26,6 @@ public class OauthApiV2Controller {
*/ */
@PostMapping("/login") @PostMapping("/login")
public JsonResult<LoginBean> login(@RequestBody LoginReq loginReq){ public JsonResult<LoginBean> login(@RequestBody LoginReq loginReq){
return JsonResult.buildSuccessResultGeneric(loginContext.login(loginReq)); return JsonResult.buildSuccessResultGeneric(loginContext.interLogin(loginReq));
} }
} }
...@@ -36,6 +36,8 @@ public class UserAttachedMigrationJobHandler { ...@@ -36,6 +36,8 @@ public class UserAttachedMigrationJobHandler {
userInfoEntity.setUserId(i.getUserId()); userInfoEntity.setUserId(i.getUserId());
userInfoEntity.setTenantId(UserConstant.defaultTenantId); userInfoEntity.setTenantId(UserConstant.defaultTenantId);
} }
userInfoEntity.setCreatedAt(i.getCreatedAt());
userInfoEntity.setUpdatedAt(i.getUpdatedAt());
userInfoEntity.setPhoto(i.getAvatar()); userInfoEntity.setPhoto(i.getAvatar());
userInfoEntity.setNickName(i.getNick()); userInfoEntity.setNickName(i.getNick());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment