From ca73a173f008c8d7a9d700bad897ca24fe2d2203 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期一, 16 十月 2023 09:29:57 +0800
Subject: [PATCH] 111
---
minipro_standard/common/config.js | 18 ++++++++++++++----
1 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/minipro_standard/common/config.js b/minipro_standard/common/config.js
index 28019e1..3b27016 100644
--- a/minipro_standard/common/config.js
+++ b/minipro_standard/common/config.js
@@ -1,14 +1,24 @@
module.exports = {
- // baseUrl: 'http://106.14.20.42/test_hfznzz/',
- // baseUrl: 'https://hefei.dtkey.cn/test_hfznzz/',
- baseUrl: 'http://192.168.0.15:10021',
- // baseUrl: 'https://dmtest.ahapp.net/doumeeplant_api',
+ // baseUrl: '/doumeeplant_api',
+ // baseUrl: 'https://dmtest.ahapp.net/doumeeplant_api',
+ // https://lingyang.mes.show:1801/doumeeplant/doc.html
+ // baseUrl: 'https://lingyang.mes.show:1801/doumeeplant',
+ 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',
--
Gitblit v1.9.3