From 64b432916af9c9218ab3f3eca614e26c542142ae Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期二, 07 十一月 2023 15:47:13 +0800
Subject: [PATCH] bug
---
minipro_standard/common/config.js | 43 ++++++++++++++++++++++++++-----------------
1 files changed, 26 insertions(+), 17 deletions(-)
diff --git a/minipro_standard/common/config.js b/minipro_standard/common/config.js
index 529495d..f4dd437 100644
--- a/minipro_standard/common/config.js
+++ b/minipro_standard/common/config.js
@@ -1,19 +1,28 @@
-module.exports = {
- // baseUrl: 'http://106.14.20.42/test_hfznzz/',
- // baseUrl: 'https://hefei.dtkey.cn/test_hfznzz/',
- // baseUrl: 'http://192.168.0.18:10021',
- 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'
+module.exports = {
+ // baseUrl: 'http://106.14.20.42/test_hfznzz/',
+ // baseUrl: 'https://hefei.dtkey.cn/test_hfznzz/',
+ // baseUrl: 'http://192.168.0.18:10021',
+ baseUrl: 'https://www.mes.red/doumeeplant',
+ 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})?$/,
+ fileType: [
+ { name: '.png', type: 2 },
+ { name: '.PNG', type: 2 },
+ { name: '.jpg', type: 2 },
+ { name: '.JPG', type: 2 },
+ { name: '.jpeg', type: 2 },
+ { name: '.JPEG', type: 2 },
+ { name: '.mp4', type: 1 }
+ ],
+ Attribute: {
+ HH: 'APPLIANCE_MIX',
+ HG: 'APPLIANCE_ONTEST',
+ BL: 'APPLIANCE_OFFTEST',
+ BF: 'APPLIANCE_USELESS'
},
QRCodeType: {
WL: 0, //0
@@ -26,5 +35,5 @@
ZKD: 7, // 7
CKD: 8, // 8
RKD: 9 // 9
- }
+ }
}
--
Gitblit v1.9.3