Commit 30e4cbf803da994d72a946c8a727c727c1c53e05
1 parent
1ca16de581
Exists in
master
and in
1 other branch
添加了两个常量,方便使用
Showing 1 changed file with 2 additions and 0 deletions
platform-common/src/main/java/com/lyms/platform/common/constants/ErrorCodeConstants.java
View file @
30e4cbf
... | ... | @@ -3,6 +3,7 @@ |
3 | 3 | public class ErrorCodeConstants { |
4 | 4 | // 成功 |
5 | 5 | public static final int SUCCESS = 0; |
6 | + public static final String SUCCESS_DESCRIPTION = "成功"; | |
6 | 7 | |
7 | 8 | // 发送验证码失败 |
8 | 9 | public static final int VERIFY_CODE_FAIL = 4001; |
... | ... | @@ -33,6 +34,7 @@ |
33 | 34 | |
34 | 35 | // 系统异常 |
35 | 36 | public static final int SYSTEM_ERROR = 4099; |
37 | + public static final String SYSTEM_ERROR_DESCRIPTION = "系统异常"; | |
36 | 38 | |
37 | 39 | public static final int BUSINESS_ERROR = 4098; |
38 | 40 |