提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.system.enums; |
H |
2 |
|
|
3 |
/** |
|
4 |
* System 操作日志枚举 |
|
5 |
* 目的:统一管理,也减少 Service 里各种“复杂”字符串 |
|
6 |
* |
|
7 |
* @author iailab |
|
8 |
*/ |
|
9 |
public interface LogRecordConstants { |
|
10 |
|
|
11 |
// ======================= SYSTEM_USER 用户 ======================= |
|
12 |
|
|
13 |
String SYSTEM_USER_TYPE = "SYSTEM 用户"; |
|
14 |
String SYSTEM_USER_CREATE_SUB_TYPE = "创建用户"; |
|
15 |
String SYSTEM_USER_CREATE_SUCCESS = "创建了用户【{{#user.nickname}}】"; |
|
16 |
String SYSTEM_USER_UPDATE_SUB_TYPE = "更新用户"; |
|
17 |
String SYSTEM_USER_UPDATE_SUCCESS = "更新了用户【{{#user.nickname}}】: {_DIFF{#updateReqVO}}"; |
|
18 |
String SYSTEM_USER_DELETE_SUB_TYPE = "删除用户"; |
|
19 |
String SYSTEM_USER_DELETE_SUCCESS = "删除了用户【{{#user.nickname}}】"; |
|
20 |
String SYSTEM_USER_UPDATE_PASSWORD_SUB_TYPE = "重置用户密码"; |
|
21 |
String SYSTEM_USER_UPDATE_PASSWORD_SUCCESS = "将用户【{{#user.nickname}}】的密码从【{{#user.password}}】重置为【{{#newPassword}}】"; |
|
22 |
|
|
23 |
// ======================= SYSTEM_ROLE 角色 ======================= |
|
24 |
|
|
25 |
String SYSTEM_ROLE_TYPE = "SYSTEM 角色"; |
|
26 |
String SYSTEM_ROLE_CREATE_SUB_TYPE = "创建角色"; |
|
27 |
String SYSTEM_ROLE_CREATE_SUCCESS = "创建了角色【{{#role.name}}】"; |
|
28 |
String SYSTEM_ROLE_UPDATE_SUB_TYPE = "更新角色"; |
|
29 |
String SYSTEM_ROLE_UPDATE_SUCCESS = "更新了角色【{{#role.name}}】: {_DIFF{#updateReqVO}}"; |
|
30 |
String SYSTEM_ROLE_DELETE_SUB_TYPE = "删除角色"; |
|
31 |
String SYSTEM_ROLE_DELETE_SUCCESS = "删除了角色【{{#role.name}}】"; |
|
32 |
|
|
33 |
} |