perf(平台对接): 优化飞书国际版

This commit is contained in:
fit2cloud-chenyw 2022-10-24 17:31:36 +08:00
parent 1e5cd254f8
commit 93776973d8
2 changed files with 6 additions and 1 deletions

View File

@ -101,7 +101,7 @@ public class XLarksuiteServer {
String email = StringUtils.isNotBlank(larkUserInfo.getEmail()) ? larkUserInfo.getEmail() : (username + "@larksuite.work");
sysUserService.validateExistUser(username, larkUserInfo.getName(), email);
sysUserService.saveLarksuiteCUser(larkUserInfo, email);
sysUserEntity = authUserService.getUserByLarkId(username);
sysUserEntity = authUserService.getUserByLarksuiteId(username);
}
TokenInfo tokenInfo = TokenInfo.builder().userId(sysUserEntity.getUserId()).username(sysUserEntity.getUsername()).build();
String realPwd = sysUserEntity.getPassword();

View File

@ -379,6 +379,11 @@ export default {
this.switchCodeIndex(6)
}
this.clearLarkMsg()
if (Cookies.get('LarksuiteError')) {
this.$error(Cookies.get('LarksuiteError'))
}
this.clearLarksuiteMsg()
},
methods: {