module.exports = { // 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', BL: 'APPLIANCE_OFFTEST', BF: 'APPLIANCE_USELESS' }, QRCodeType: { WL: 0, //0 CK: 1, // 1 HW: 2, // 2 GD: 3, // 3 GZ: 4, // 4 SB: 5, // 5 YG: 6, // 6 ZKD: 7, // 7 CKD: 8, // 8 RKD: 9 // 9 } }