);
return resultData;
}
/**
* 失败
*
* @param code
* @param message...**/
RC100(100, "操作成功"),
/**
* 操作失败
**/
RC999(999, "操作失败"),
/**
* access_denied...**/
RC403(403, "无访问权限,请联系管理员授予权限"),
/**
* access_denied
**/
RC401(401, "...500, "系统异常,请稍后重试"),
ILLEGAL_ARGUMENT(3001, "非法参数"),
INVALID_TOKEN(2001, "访问令牌不合法"),
ACCESS_DENIED..., String message) {
this.code = code;
this.message = message;
}
}
Step4 验证
package