feat(系统设置):操作日志补全details

This commit is contained in:
WangXu10 2023-06-15 14:31:15 +08:00 committed by 刘瑞斌
parent 36eaabeac6
commit d34ad6459e
2 changed files with 5 additions and 5 deletions

View File

@ -32,7 +32,7 @@ public class AuthSourceController {
@PostMapping("/add")
@RequiresPermissions(PermissionConstants.SYSTEM_SETTING_READ_CREAT)
@RequestLog(type = OperationLogType.ADD, module = OperationLogModule.SYSTEM_PARAMETER_SETTING,
details = "#authSource.type")
details = "认证设置")
public void add(@RequestBody AuthSource authSource) {
authSourceService.addAuthSource(authSource);
}
@ -40,7 +40,7 @@ public class AuthSourceController {
@PostMapping("/update")
@RequiresPermissions(PermissionConstants.SYSTEM_SETTING_READ_UPDATE)
@RequestLog(type = OperationLogType.UPDATE, module = OperationLogModule.SYSTEM_PARAMETER_SETTING,
details = "#authSource.type")
details = "认证设置")
public void update(@RequestBody AuthSource authSource) {
authSourceService.updateAuthSource(authSource);
}
@ -54,7 +54,7 @@ public class AuthSourceController {
@GetMapping("/delete/{id}")
@RequiresPermissions(PermissionConstants.SYSTEM_SETTING_READ_DELETE)
@RequestLog(type = OperationLogType.DELETE, module = OperationLogModule.SYSTEM_PARAMETER_SETTING,
details = "#authSource.type")
details = "认证设置")
public void delete(@PathVariable(value = "id") String id) {
authSourceService.deleteAuthSource(id);
}

View File

@ -31,7 +31,7 @@ public class SystemParameterController {
*/
@PostMapping("/save/baseInfo")
@RequiresPermissions(PermissionConstants.SYSTEM_SETTING_READ_UPDATE)
@RequestLog(type = OperationLogType.ADD, module = OperationLogModule.SYSTEM_PARAMETER_SETTING)
@RequestLog(type = OperationLogType.ADD, module = OperationLogModule.SYSTEM_PARAMETER_SETTING, details = "基本配置")
public void saveBaseParameter(@RequestBody List<SystemParameter> systemParameter) {
systemParameterService.saveBaseInfo(systemParameter);
}
@ -57,7 +57,7 @@ public class SystemParameterController {
@PostMapping("/edit/emailInfo")
@RequiresPermissions(PermissionConstants.SYSTEM_SETTING_READ_UPDATE)
@RequestLog(type = OperationLogType.UPDATE, module = OperationLogModule.SYSTEM_PARAMETER_SETTING)
@RequestLog(type = OperationLogType.UPDATE, module = OperationLogModule.SYSTEM_PARAMETER_SETTING, details = "邮件配置")
public void editEMailInfo(@RequestBody List<SystemParameter> systemParameter) {
systemParameterService.editEMailInfo(systemParameter);
}