cyywl_server/yudao-ui-app/config/app.js

36 lines
1.0 KiB
JavaScript
Raw Normal View History

2023-05-15 10:12:22 +08:00
2023-05-23 12:03:27 +08:00
// let domain = 'http://yuxy.perrymake.com'
let domain = 'http://192.168.1.188:48080'
2023-05-15 10:12:22 +08:00
module.exports = {
// 请求域名 格式: https://您的域名
// #ifdef MP
HTTP_REQUEST_URL: domain,
// #endif
2023-05-23 12:03:27 +08:00
// HTTP_ADMIN_URL:'http://yuxy.perrymake.com', //PC后台的API请求地址上传图片用
HTTP_ADMIN_URL:'http://192.168.1.188:48080', //PC后台的API请求地址上传图片用
2023-05-15 10:12:22 +08:00
// #ifdef H5
//H5接口是浏览器地址
// HTTP_REQUEST_URL: window.location.protocol+"//"+window.location.host,
// http://api.java.crmeb.net:20001
HTTP_REQUEST_URL:domain,
// #endif
2023-05-15 18:19:03 +08:00
2023-05-15 10:12:22 +08:00
HEADER:{
2023-05-15 18:19:03 +08:00
'content-type': 'application/json',
2023-05-15 10:12:22 +08:00
},
HEADERPARAMS:{
'content-type': 'application/x-www-form-urlencoded'
},
// 回话密钥名称 请勿修改此配置
2023-05-16 18:00:52 +08:00
TOKENNAME: 'Authorization',
2023-05-15 10:12:22 +08:00
// 缓存时间 0 永久
EXPIRE:0,
//分页最多显示条数
2023-05-23 09:47:23 +08:00
LIMIT: 10,
2023-05-23 12:03:27 +08:00
// 推广链接域名
2023-05-23 09:47:23 +08:00
SPREAD_DOMAIN: 'http://h5.cyywl.top',
2023-05-23 12:03:27 +08:00
// 推广码生成访问H5链接地址
2023-05-23 09:47:23 +08:00
SPREAD_LINK: '/pages/member_application/index',
2023-05-15 10:12:22 +08:00
};