feat(iam): 添加日志

This commit is contained in:
yjz
2023-11-09 19:27:00 +08:00
parent 10e39e1661
commit 15f844e396
3 changed files with 23 additions and 6 deletions
@@ -218,8 +218,11 @@ public class SyncIamService {
String selectedRoles = "123"; // 一般用户的角色ID
// 存储到用户表中
long a = System.currentTimeMillis();
log.info("--------" + a + "开始处理保存用户、角色、部门--------");
this.sysUserService.saveUser(sysUser, selectedRoles, selectedDeparts);
long b = System.currentTimeMillis();
log.info("--------处理结束耗时" + (b - a) + "--------");
iamUserCreateResponse.setUid(sysUser.getId());
return iamUserCreateResponse;