From 08f1b1f1804a8bd833d42f257908d80e88387b55 Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期五, 14 三月 2025 11:27:47 +0800 Subject: [PATCH] 3.5增加登录验证、修改密码、人员列表调整 --- 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