From 6e4895d817ae01d3b3caa96add2eccafe427374f Mon Sep 17 00:00:00 2001
From: Mr.Zhang <710666463@qq.com>
Date: 星期四, 31 八月 2023 18:12:31 +0800
Subject: [PATCH] 小程序
---
minipro_standard/common/config.js | 26 ++++++++++++++++----------
1 files changed, 16 insertions(+), 10 deletions(-)
diff --git a/minipro_standard/common/config.js b/minipro_standard/common/config.js
index 1ee7ea5..db36bef 100644
--- a/minipro_standard/common/config.js
+++ b/minipro_standard/common/config.js
@@ -1,11 +1,17 @@
-module.exports = {
- // baseUrl: 'http://106.14.20.42/test_hfznzz/',
- // baseUrl: 'https://hefei.dtkey.cn/test_hfznzz/',
- baseUrl: 'https://dmtest.ahapp.net/doumeeplant_api/',
- phoneRegular: /^1[3456789]\d{9}$/,
- mailboxRegular: /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/,
- positiveInteger: /^[0-9]*[1-9][0-9]*$/,
- decimal: /^0$|^[1-9]\d{0,15}$|^[1-9]\d{0,15}\.{1}\d{1,4}$|^0\.{1}\d{1,4}$/g,
- positiveIntegerDecimal: /^([1-9][0-9]*|0)(\.[0-9]?[1-9][1-9][1-9])?$/,
- number: /^\d+(?:\.\d{1,4})?$/
+module.exports = {
+ // baseUrl: 'http://106.14.20.42/test_hfznzz/',
+ // baseUrl: 'https://hefei.dtkey.cn/test_hfznzz/',
+ baseUrl: 'https://dmtest.ahapp.net/doumeeplant_api/',
+ phoneRegular: /^1[3456789]\d{9}$/,
+ mailboxRegular: /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/,
+ positiveInteger: /^[0-9]*[1-9][0-9]*$/,
+ decimal: /^0$|^[1-9]\d{0,15}$|^[1-9]\d{0,15}\.{1}\d{1,4}$|^0\.{1}\d{1,4}$/g,
+ positiveIntegerDecimal: /^([1-9][0-9]*|0)(\.[0-9]?[1-9][1-9][1-9])?$/,
+ number: /^\d+(?:\.\d{1,4})?$/,
+ Attribute: {
+ HH: 'APPLIANCE_MIX',
+ HG: 'APPLIANCE_ONTEST',
+ BL: 'APPLIANCE_OFFTEST',
+ BF: 'APPLIANCE_USELESS'
+ }
}
--
Gitblit v1.9.3