From ce4a770744d7a0b4e4ea3b5101556b94e72bdf1c Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期二, 14 十一月 2023 17:49:20 +0800 Subject: [PATCH] 修改打卡 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/HttpStatus.java | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/HttpStatus.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/HttpStatus.java index 47753b3..969e669 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/HttpStatus.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/HttpStatus.java @@ -5,8 +5,13 @@ * * @author huanghongfa */ -public class HttpStatus -{ +public class HttpStatus { + + /** + * 正常 + */ + public static final int NORMAL = 0; + /** * 操作成功 */ @@ -73,6 +78,11 @@ public static final int CONFLICT = 409; /** + * 请求主体的大小超过了服务器 + */ + public static final int REQUEST_TOO_LARGE = 413; + + /** * 不支持的数据,媒体类型 */ public static final int UNSUPPORTED_TYPE = 415; @@ -86,4 +96,9 @@ * 接口未实现 */ public static final int NOT_IMPLEMENTED = 501; + + /** + * 暂不支持 + */ + public static final int NOT_ACCEPTABLE = 406; } -- Gitblit v1.7.1