refactor(系统设置): 登录日志记录修改操作对象

This commit is contained in:
wxg0103 2023-08-24 10:06:57 +08:00 committed by 刘瑞斌
parent c513b730df
commit 358d574b33
1 changed files with 3 additions and 2 deletions

View File

@ -7,6 +7,7 @@ import io.metersphere.sdk.constants.*;
import io.metersphere.sdk.controller.handler.ResultHolder;
import io.metersphere.sdk.dto.*;
import io.metersphere.sdk.exception.MSException;
import io.metersphere.sdk.log.constants.OperationLogModule;
import io.metersphere.sdk.log.constants.OperationLogType;
import io.metersphere.sdk.log.service.OperationLogService;
import io.metersphere.sdk.mapper.BaseProjectMapper;
@ -115,7 +116,7 @@ public class BaseUserService {
OperationLogConstants.SYSTEM,
userId,
type,
OperationLogConstants.SYSTEM,
OperationLogModule.SETTING_SYSTEM,
StringUtils.join(user.getName(), StringUtils.EMPTY, content));
dto.setMethod(method);
dto.setPath(path);