Files
msh-system/msh_single_uniapp/config/app.js

34 lines
872 B
JavaScript
Raw Normal View History

// +----------------------------------------------------------------------
// |
// +----------------------------------------------------------------------
// 移动端商城API
let domain = 'http://127.0.0.1:20822'
// let domain = 'https://chenyin.uj345.cc'
// let domain = 'https://sophia-shop.uj345.cc'
module.exports = {
domain,
// 请求域名 格式: https://您的域名
// #ifdef MP || APP-PLUS
// HTTP_REQUEST_URL:'',
HTTP_REQUEST_URL: domain,
// H5商城地址
HTTP_H5_URL: 'https://sophia-shop.uj345.cc',
// #endif
// #ifdef H5
HTTP_REQUEST_URL:domain,
// #endif
HEADER:{
'content-type': 'application/json'
},
HEADERPARAMS:{
'content-type': 'application/x-www-form-urlencoded'
},
// 回话密钥名称 请勿修改此配置
TOKENNAME: 'Authori-zation',
// 缓存时间 0 永久
EXPIRE:0,
//分页最多显示条数
LIMIT: 10
};