2020-08-13 08:12:57 +00:00
|
|
|
|
2023-09-09 14:19:12 +00:00
|
|
|
let domain = 'http://apif.java.crmeb.net'
|
|
|
|
// let domain = 'http://127.0.0.1:48080'
|
2020-08-13 08:12:57 +00:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
// 请求域名 格式: https://您的域名
|
|
|
|
// #ifdef MP
|
2021-06-11 09:41:16 +00:00
|
|
|
HTTP_REQUEST_URL: domain,
|
2020-08-13 08:12:57 +00:00
|
|
|
// #endif
|
|
|
|
// #ifdef H5
|
|
|
|
//H5接口是浏览器地址
|
|
|
|
// HTTP_REQUEST_URL: window.location.protocol+"//"+window.location.host,
|
2021-06-11 09:41:16 +00:00
|
|
|
// http://api.java.crmeb.net:20001
|
2023-08-13 14:02:12 +00:00
|
|
|
HTTP_REQUEST_URL: domain,
|
2020-08-13 08:12:57 +00:00
|
|
|
// #endif
|
2023-08-13 14:02:12 +00:00
|
|
|
|
2020-08-13 08:12:57 +00:00
|
|
|
HEADER:{
|
|
|
|
'content-type': 'application/json'
|
|
|
|
},
|
|
|
|
HEADERPARAMS:{
|
|
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
|
|
},
|
|
|
|
// 回话密钥名称 请勿修改此配置
|
|
|
|
TOKENNAME: 'Authori-zation',
|
|
|
|
// 缓存时间 0 永久
|
|
|
|
EXPIRE:0,
|
2020-11-05 08:21:06 +00:00
|
|
|
//分页最多显示条数
|
|
|
|
LIMIT: 10
|
2020-08-26 10:02:40 +00:00
|
|
|
};
|