提交 3c439fd6 编写于 作者: CRMEB's avatar CRMEB

上传app.js

上级 621ea31e
module.exports = {
// 请求域名 格式: https://您的域名
// #ifdef MP
HTTP_REQUEST_URL: 'https://您的域名',
VUE_APP_WS_URL: `ws://您的域名:端口`,
// #endif
// #ifdef H5
//H5接口是浏览器地址
HTTP_REQUEST_URL: window.location.protocol + "//" + window.location.host,
VUE_APP_WS_URL: `ws://${window.location.host}:20003`,
// #endif
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
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册