同步更新user face数据失败

This commit is contained in:
sxu 2025-05-27 10:05:28 +08:00
parent a173f521a0
commit 77526b9524
1 changed files with 10 additions and 2 deletions

View File

@ -336,7 +336,11 @@ public class SysUserServiceImpl implements ISysUserService {
// 同步创建账户数据
smartCanteenClient.syncAccInfo(user);
// 同步更新user face数据
try {
uploadUserFace(user);
} catch (Exception e) {
log.error("同步更新user face数据失败", e.getMessage());
}
return rows;
}
@ -370,7 +374,11 @@ public class SysUserServiceImpl implements ISysUserService {
// 新增用户与岗位管理
insertUserPost(user);
// 同步更新user face数据
try {
uploadUserFace(user);
} catch (Exception e) {
log.error("同步更新user face数据失败", e.getMessage());
}
// 更新用户
return userMapper.updateUser(user);
}