Merge pull request #3428 from dataease/pr@dev@perf_larksuite

perf(平台对接): 优化飞书国际版
This commit is contained in:
dataeaseShu 2022-10-24 17:35:25 +08:00 committed by GitHub
commit 70aba6070e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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: {