| | |
| | | // export const requestCtx = "http://182.92.203.7:3001"; // 请求地址 |
| | | // export const appId = 27; |
| | | export const requestCtx = "https://jsek.bnuic.com" // 请求地址 |
| | | export const appId = 3; |
| | | export const requestCtx = "http://182.92.203.7:3001"; // 请求地址 |
| | | export const appId = 27; |
| | | // export const requestCtx = "https://jsek.bnuic.com"; // 请求地址 |
| | | // export const appId = 3; |
| | | // export const epubUrl = "http://182.92.203.7:3007/epubReadMobile/"; |
| | | export const epubUrl = "https://jsek.bnuic.com/epubReadMobile/#/"; |
| | | export const pdfUrl = "http://182.92.203.7:3007/pdfRead/" |
| | | export const pdfUrl = "http://182.92.203.7:3007/pdfRead/"; |
| | | export const requestTimeOut = 300000; // 请求超时时间 |
| | | export const tokenKey = "jsek-token"; |
| | | export const userInfoKey = "website-front-userInfo"; // 用户信息key |
| | | export const userInfoKey = "website-front-userInfo"; // 用户信息key |
| | | export const appRefCode = "jingshieke"; |
| | | export const goodsStore = `defaultGoodsStore${appId}`; // 默认商品库(书城) |
| | | export const publicStore = `defaultPublicStore${appId}`; // 默认资源开放仓储 |
| | |
| | | export const reg_tel = |
| | | /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/; // 电话号正则 |
| | | export const reg_telphone = /^0\d{2}-\d{8}$|^0\d{3}-\d{7}$/; //座机号正则 |
| | | |
| | | |
| | | const config = { |
| | | requestCtx, |
| | |
| | | reg_telphone, |
| | | epubUrl, |
| | | pdfUrl, |
| | | appId |
| | | appId, |
| | | }; |
| | | export default config; |