| | |
| | | export const requestCtx = 'http://182.92.203.7:5001' // 请求地址 |
| | | export const requestCtx = 'https://yxjy.pumcp.com/' // 请求地址 |
| | | // export const appId = 1051; |
| | | |
| | | // export const requestCtx = 'http://172.31.31.145' // 请求地址 |
| | |
| | | export const appId = 1 |
| | | |
| | | export const requestTimeOut = 300000 // 请求超时时间 |
| | | export const tokenKey = 'jilin-token' |
| | | export const userInfoKey = 'jilin-userInfo' // 用户信息key |
| | | export const appRefCode = 'jilinWebsite' |
| | | export const tokenKey = 'xiehe-token' |
| | | export const userInfoKey = 'xiehe-userInfo' // 用户信息key |
| | | export const appRefCode = 'PUMC' |
| | | export const goodsStore = `defaultGoodsStore${appId}` // 默认商品库(书城) |
| | | export const publicStore = `defaultPublicStore${appId}` // 默认资源开放仓储 |
| | | export const publicRepository = `defaultPublicRepository${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}$/ //座机号正则 |
| | | |
| | | // refcode |
| | | const refCode = { |
| | |
| | | appid: 'wx2b9d4a6308fd03d6', |
| | | scope: 'snsapi_login', |
| | | logInRedirectURL: encodeURIComponent(requestCtx + '/website'), |
| | | authenRedirectURL:encodeURIComponent(requestCtx + '/website/#/userInfo') |
| | | authenRedirectURL: encodeURIComponent(requestCtx + '/website/#/userInfo'), |
| | | } |
| | | |
| | | const config = { |
| | |
| | | reg_tel, |
| | | appId, |
| | | refCode, |
| | | wxLogin |
| | | wxLogin, |
| | | reg_telphone, |
| | | } |
| | | export default config |