Update XDingtalkServer.java

fix(个人信息): 扫码绑定钉钉
This commit is contained in:
fit2cloud-chenyw 2022-09-28 15:07:33 +08:00 committed by GitHub
parent 94bfe751ad
commit 9cc4e4e5f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -162,7 +162,7 @@ public class XDingtalkServer {
return;
}
SysUserAssist sysUserAssist = sysUserService.assistInfo(Long.parseLong(state));
if (ObjectUtils.isNotEmpty(sysUserAssist) && StringUtils.isNotBlank(sysUserAssist.getWecomId())) {
if (ObjectUtils.isNotEmpty(sysUserAssist) && StringUtils.isNotBlank(sysUserAssist.getDingtalkId())) {
bindError(response, url, "目标用户已绑定其他钉钉账号");
return;
}