feat(iam): 添加日志
This commit is contained in:
+4
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user