摘要: [toc] ## 1.自定义枚举类 ```java public enum ReturnCode { RC200(200, "ok"), RC400(400, "请求失败,参数错误,请检查后重试。"), RC404(404, "未找到您请求的资源。"), RC405(405, "请求方式错误,请检查 阅读全文
posted @ 2023-08-24 01:43 tuuli 阅读(5937) 评论(0) 推荐(5) 编辑