mirror of
https://github.com/certd/certd.git
synced 2026-07-20 14:27:31 +08:00
chore: 继续完善审计日志
This commit is contained in:
@@ -16,7 +16,7 @@ export class PermissionController extends CrudController<PermissionService> {
|
||||
return this.service;
|
||||
}
|
||||
getAuditType(): string {
|
||||
return AuditType.permission;
|
||||
return AuditType.permission.value;
|
||||
}
|
||||
|
||||
@Post("/page", { description: "sys:auth:per:view", summary: "查询权限分页列表" })
|
||||
|
||||
@@ -17,7 +17,7 @@ export class RoleController extends CrudController<RoleService> {
|
||||
}
|
||||
|
||||
getAuditType(): string {
|
||||
return AuditType.role;
|
||||
return AuditType.role.value;
|
||||
}
|
||||
|
||||
@Post("/page", { description: "sys:auth:role:view" })
|
||||
|
||||
@@ -26,7 +26,7 @@ export class UserController extends CrudController<UserService> {
|
||||
loginService: LoginService;
|
||||
|
||||
getAuditType(): string {
|
||||
return AuditType.user;
|
||||
return AuditType.user.value;
|
||||
}
|
||||
|
||||
getService() {
|
||||
|
||||
Reference in New Issue
Block a user