easypay-app/config/app.js
2024-02-27 15:35:03 +08:00

33 lines
919 B
JavaScript

//移动端商城API
// let domain = 'http://117.50.163.143:20410'
// let domain = 'http://117.50.215.20:20410'
// let domain = 'http://192.168.2.26:20411'
// let domain = 'http://106.75.49.247:20410'
let domain = 'https://yruibao.com/prod'
module.exports = {
// 请求域名 格式: https://您的域名
// #ifdef MP || APP-PLUS
// HTTP_REQUEST_URL:'',
HTTP_REQUEST_URL: domain,
// H5商城地址
HTTP_H5_URL: 'https://yruibao.com/prod', //正式
// HTTP_H5_URL: 'http://192.168.2.14:8081', //本地
// HTTP_H5_URL: 'http://117.50.215.20: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
};