refactor(系统设置): 登录日志记录修改操作对象
This commit is contained in:
parent
c513b730df
commit
358d574b33
|
@ -7,6 +7,7 @@ import io.metersphere.sdk.constants.*;
|
||||||
import io.metersphere.sdk.controller.handler.ResultHolder;
|
import io.metersphere.sdk.controller.handler.ResultHolder;
|
||||||
import io.metersphere.sdk.dto.*;
|
import io.metersphere.sdk.dto.*;
|
||||||
import io.metersphere.sdk.exception.MSException;
|
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.constants.OperationLogType;
|
||||||
import io.metersphere.sdk.log.service.OperationLogService;
|
import io.metersphere.sdk.log.service.OperationLogService;
|
||||||
import io.metersphere.sdk.mapper.BaseProjectMapper;
|
import io.metersphere.sdk.mapper.BaseProjectMapper;
|
||||||
|
@ -115,7 +116,7 @@ public class BaseUserService {
|
||||||
OperationLogConstants.SYSTEM,
|
OperationLogConstants.SYSTEM,
|
||||||
userId,
|
userId,
|
||||||
type,
|
type,
|
||||||
OperationLogConstants.SYSTEM,
|
OperationLogModule.SETTING_SYSTEM,
|
||||||
StringUtils.join(user.getName(), StringUtils.EMPTY, content));
|
StringUtils.join(user.getName(), StringUtils.EMPTY, content));
|
||||||
dto.setMethod(method);
|
dto.setMethod(method);
|
||||||
dto.setPath(path);
|
dto.setPath(path);
|
||||||
|
|
Loading…
Reference in New Issue