From df7a9d5bca908cdb4a3a0984b4c63c4be7a89671 Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期五, 17 十一月 2023 17:59:40 +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