|
@@ -8,7 +8,7 @@ import lombok.Data;
|
|
|
@Data
|
|
@Data
|
|
|
public class BaseCode {
|
|
public class BaseCode {
|
|
|
|
|
|
|
|
- public final static BaseCode OK = new BaseCode(0,"成功");
|
|
|
|
|
|
|
+ public final static BaseCode OK = new BaseCode(0,"操作成功");
|
|
|
public final static BaseCode ERROR = new BaseCode(500,"系统错误");
|
|
public final static BaseCode ERROR = new BaseCode(500,"系统错误");
|
|
|
public final static BaseCode ERR_NOT_AUTH = new BaseCode(401,"未登录或登录过期");
|
|
public final static BaseCode ERR_NOT_AUTH = new BaseCode(401,"未登录或登录过期");
|
|
|
public final static BaseCode ERR_FORBIDDEN = new BaseCode(403,"无访问权限");
|
|
public final static BaseCode ERR_FORBIDDEN = new BaseCode(403,"无访问权限");
|