vue版本上线

This commit is contained in:
季圣华
2021-04-07 23:53:57 +08:00
parent 76a0033a4e
commit f4ef5aa067
803 changed files with 171959 additions and 27 deletions

View File

@@ -0,0 +1,37 @@
package com.jsh.erp.utils;
/**
*
*/
public enum ErpInfo {
//通过构造传递参数
OK(200, "成功"),
BAD_REQUEST(400, "请求错误或参数错误"),
UNAUTHORIZED(401, "未认证用户"),
INVALID_VERIFY_CODE(461, "错误的验证码"),
ERROR(500, "服务内部错误"),
WARING_MSG(201, "提醒信息"),
REDIRECT(301, "session失效重定向"),
FORWARD_REDIRECT(302, "转发请求session失效"),
FORWARD_FAILED(303, "转发请求失败!"),
TEST_USER(-1, "演示用户禁止操作");
public final int code;
public final String name;
public int getCode() {
return code;
}
public String getName() {
return name;
}
/**
* 定义枚举构造函数
*/
ErpInfo(int code, String name) {
this.code = code;
this.name = name;
}
}