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 | 28 +++++++++++++++++++--------- 1 files changed, 19 insertions(+), 9 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 157d44d..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 @@ -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"; @@ -248,9 +243,9 @@ public static final Integer EIGHTEEN = 18; /** - * 数字18 + * 数字8 */ - public static final Integer EIGHT = 18; + public static final Integer EIGHT = 8; /** * 数字 30 @@ -270,12 +265,27 @@ /** * 数字 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 = "市"; /** * 师傅端默认密码 @@ -290,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