| 1234567891011121314 |
- const CONFIG = {
- staticUrl: 'https://shop.xiaocaituan.com/image', // 所有图片服务器地址 https://shop.xiaocaituan.com/image
- // staticUrl: '/static/image', // 所有图片服务器地址 https://shop.xiaocaituan.com/image
- // baseUrl: 'http://192.168.0.152:8300/api', // 后台接、口请求地址
- baseUrl: 'http://192.168.0.68:8300/api', // 后台接、口请求地址
-
- // baseUrl: 'https://shop.xiaocaituan.com/hd-api/api', // 正式接口请求地址
- telRegex: /^1[3-9]\d{9}$/, //手机正则
- telIdentity: /^[1-9]\d{5}(18|19|20)\d{2}((0[1-9])|(10|11|12))((0[1-9])|([1-2][0-9])|30|31)\d{3}[\dXx]$/, //身份证的正则表达式
- twoMinNum: /^(([1-9][0-9]*)|(([0]\.\d{1,2}|[1-9][0-9]*\.\d{1,2})))$/,
- mailVerify: "^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((.[a-zA-Z0-9_-]{2,3}){1,2})$",
- };
- export default CONFIG;
|