java 枚举类
public enum APICode {
SUCCESS("200", "success", "success2"), FAIL("10000", "fail"), INVALID_TOKEN("10001", "Token无效"),
REQUEST_METHOD_NOT_SUPPORTED("10002", "请求方式不支持"), REQUEST_METHOD_ARGUMENT_NOT_VALID("10003", "方法参数不正确"),
USERNAME_PASSWORD_DE...
原创
2021-04-30 15:15:27 ·
189 阅读 ·
2 评论