38 lines
1.3 KiB
JavaScript
38 lines
1.3 KiB
JavaScript
|
// +----------------------------------------------------------------------
|
|||
|
// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
|
|||
|
// +----------------------------------------------------------------------
|
|||
|
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
|
|||
|
// +----------------------------------------------------------------------
|
|||
|
// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
|
|||
|
// +----------------------------------------------------------------------
|
|||
|
// | Author: CRMEB Team <admin@crmeb.com>
|
|||
|
// +----------------------------------------------------------------------
|
|||
|
//移动端商城API
|
|||
|
// let domain = 'http://117.50.163.143:20410'
|
|||
|
let domain = 'http://localhost:8081'
|
|||
|
|
|||
|
module.exports = {
|
|||
|
// 请求域名 格式: https://您的域名
|
|||
|
// #ifdef MP || APP-PLUS
|
|||
|
// HTTP_REQUEST_URL:'',
|
|||
|
HTTP_REQUEST_URL: domain,
|
|||
|
// H5商城地址
|
|||
|
HTTP_H5_URL: 'http://117.50.163.143:20410',
|
|||
|
// #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
|
|||
|
};
|