赞
踩
-
-
- import lombok.Getter;
- import lombok.Setter;
-
- /**
- * @Author: July
- * @Description:
- * @Date Created in 2021-10-18 11:06
- * @Modified By:
- */
-
- @Getter
- @Setter
- public class JsonResult<T> {
- /**
- * 成功
- */
- public static final int SUCCESS = 200;
-
- /**
- * 没有登录
- */
- public static final int NOT_LOGIN = 400;
-
- /**
- * 发生异常
- */
- public static final int EXCEPTION = 401;
-
- /**
- * 系统错误
- */
- public static final int SYS_ERROR = 402;
-
- /**
- * 参数错误
- */
- public static final int PARAMS_ERROR = 403;
-
- /**
- * 不支持或已经废弃
- */
- public static final int NOT_SUPPORTED = 410;
-
- /**
- * AuthCode错误
- */
- public static final int INVALID_AUTHCODE = 444;
-
- /**
- * 太频繁的调用
- */
- public static final int TOO_FREQUENT = 445;
-
- /**
- * 未知的错误
- */
- public static final int UNKNOWN_ERROR = 499;
-
- private int
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。