From ecca9ab70a9a87bcb60977c92fbf81053b8fc1bb Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期三, 04 九月 2024 09:17:55 +0800
Subject: [PATCH] 新增优化

---
 ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java |   55 +++++++++++++++++++++++++++++++++++++++++++++----------
 1 files changed, 45 insertions(+), 10 deletions(-)

diff --git a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java
index b087c3c..22df5c7 100644
--- a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java
+++ b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java
@@ -9,7 +9,7 @@
     /**
      * 微信获取授权openId地址
      */
-    public static final String WX_OPENID_ADDRESS = "https://api.weixin.qq.com/sns/jscode2sess";
+    public static final String WX_OPENID_ADDRESS = "https://api.weixin.qq.com/sns/jscode2session";
 
     /**
      * UTF-8 字符集
@@ -148,11 +148,6 @@
     public static final String EXCEL_ORDER_FILE_NAME = "订单记录";
 
     /**
-     * 文件上传常量后缀
-     */
-    public static final String APK = "apk";
-
-    /**
      * 用户编号生成前缀
      */
     public static final String USER_NO_PRE = "用户%s";
@@ -186,6 +181,16 @@
      * 已驳回 中文状态
      */
     public static final String REJECT_STR = "已驳回";
+
+    /**
+     * 家电以旧换新
+     */
+    public static final String TRADE_IN = "家电以旧换新";
+
+    /**
+     * 预约上门回收
+     */
+    public static final String RECOVERY = "预约上门回收";
 
     /**
      * 数字60
@@ -228,14 +233,24 @@
     public static final Integer SIX = 6;
 
     /**
+     * 数字10
+     */
+    public static final Integer TEN = 10;
+
+    /**
      * 数字18
      */
     public static final Integer EIGHTEEN = 18;
 
     /**
-     * 数字18
+     * 数字8
      */
-    public static final Integer EIGHT = 18;
+    public static final Integer EIGHT = 8;
+
+    /**
+     * 数字 30
+     */
+    public static final Integer THIRTY = 30;
 
     /**
      * 数字100
@@ -243,14 +258,34 @@
     public static final Integer ONE_HUNDRED = 100;
 
     /**
+     * 数字 365
+     */
+    public static final Integer YEAR_DAY = 365;
+
+    /**
      * 数字 3000
      */
-    public static final Integer THREE_THOUSAND = 3000;
+    public static final Integer THREE_THOUSAND = 2000;
 
     /**
      * 师傅端默认用户ID前缀
      */
     public static final String DEFAULT_USER_NUMBER_PRE = "用户";
+
+    /**
+     * 师傅端默认用户ID前缀
+     */
+    public static final String SUBSIDY_MONEY = "¥";
+
+    /**
+     * 师傅端默认用户ID前缀
+     */
+    public static final String PROVINCE = "省";
+
+    /**
+     * 师傅端默认用户ID前缀
+     */
+    public static final String MARKET = "市";
 
     /**
      * 师傅端默认密码
@@ -265,6 +300,6 @@
     /**
      * 手机号码正则
      */
-    public static final String PHONE = "^1[34578]\\d{9}$";
+    public static final String PHONE = "^1[3456789]\\d{9}$";
 
 }

--
Gitblit v1.7.1