类 StateParams
java.lang.Object
com.weicoder.common.params.StateParams
状态码读取配置
- 作者:
- WD
-
字段概要
字段修饰符和类型字段说明static final int状态码 1=系统错误static final int状态码 100=空static final int状态码 0=成功static final String状态码成功信息 -
方法概要
-
字段详细资料
-
SUCCESS
public static final int SUCCESS状态码 0=成功 -
ERROR
public static final int ERROR状态码 1=系统错误 -
NULL
public static final int NULL状态码 100=空 -
SUCCESS_MSG
状态码成功信息
-
-
方法详细资料
-
getMessage
根据状态码获取状态信息- 参数:
code- 状态码- 返回:
- 状态信息
-