screen-common/src/main/java/com/moral/constant/Constants.java
@@ -15,6 +15,16 @@ */ public static final String MSG_OPERATION_FAILED = "操作失败!"; /* * token无效 * */ public static final String MSG_TOKEN_ERROR = "token无效,请重新登陆"; /* * token生成失败 * */ public static final String MSG_TOKEN_CREATE_ERROR = "token生成失败,请联系管理员"; /** * 操作成功code */ @@ -24,6 +34,15 @@ */ public static final int CODE_OPERATION_FAILED = -1; /** * token校验失败 */ public static final int CODE_TOKEN_ERROR = -10; /* * token生成失败 * */ public static final int CODE_TOKEN_CREATE_ERROR = -11; }