|
|
@@ -0,0 +1,26 @@
|
|
|
+package com.ylx.massage.constant;
|
|
|
+
|
|
|
+public interface CommonConstant {
|
|
|
+
|
|
|
+ /**
|
|
|
+ * {@code 500 Server Error} (HTTP/1.0 - RFC 1945)
|
|
|
+ */
|
|
|
+ Integer SC_INTERNAL_SERVER_ERROR_500 = 500;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * {@code 404 Not Found} (HTTP/1.0 - RFC 1945)
|
|
|
+ */
|
|
|
+ Integer SC_INTERNAL_NOT_FOUND_404 = 404;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * {@code 200 OK} (HTTP/1.0 - RFC 1945)
|
|
|
+ */
|
|
|
+ Integer SC_OK_200 = 200;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 访问权限认证未通过 510
|
|
|
+ */
|
|
|
+ Integer SC_JEECG_NO_AUTHZ = 510;
|
|
|
+
|
|
|
+
|
|
|
+}
|