You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
998 B
39 lines
998 B
module.exports = {
|
|
// 小程序配置
|
|
// #ifdef MP || APP-PLUS
|
|
// 请求域名 格式: https://您的域名
|
|
// HTTP_REQUEST_URL: `https://rzds.njrzwl.cn`,
|
|
HTTP_REQUEST_URL: `https://admin.njmiaoxin.cn`,
|
|
// HTTP_REQUEST_URL: `https://demo.crmeb.com`,
|
|
// #endif
|
|
|
|
// H5配置
|
|
// #ifdef H5
|
|
//H5接口是浏览器地址,非单独部署不用修改
|
|
HTTP_REQUEST_URL: window.location.protocol + "//" + window.location.host,
|
|
// #endif
|
|
|
|
|
|
// 后台版本号
|
|
SYSTEM_VERSION: 530,
|
|
|
|
// 以下配置在不做二开的前提下,不需要做任何的修改
|
|
HEADER: {
|
|
'content-type': 'application/json',
|
|
//#ifdef H5
|
|
'Form-type': navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1 ? 'wechat' : 'h5',
|
|
//#endif
|
|
//#ifdef MP
|
|
'Form-type': 'routine',
|
|
//#endif
|
|
//#ifdef APP-VUE
|
|
'Form-type': 'app',
|
|
//#endif
|
|
},
|
|
// 回话密钥名称 请勿修改此配置
|
|
TOKENNAME: 'Authori-zation',
|
|
// 缓存时间 0 永久
|
|
EXPIRE: 0,
|
|
//分页最多显示条数
|
|
LIMIT: 10
|
|
}
|
|
|