You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.3 KiB
29 lines
1.3 KiB
module.exports = {
|
|
BASEURL: BASEURL,
|
|
WEBROOT: WEBROOT,
|
|
Token: getToken,
|
|
userId: ""
|
|
};
|
|
|
|
function BASEURL() {
|
|
return 'https://eug-test.elinkit.com.cn/js/epdc-api/api/' // 锦水测试环境
|
|
// return 'https://eug-test.elinkit.com.cn/epdc-api/api/' // 测试环境 接口地址
|
|
// return "http://219.146.91.110:9094/epdc-api/api/" // 测试环境 ip接口地址
|
|
// return "https://epdc.elinkservice.cn/epdc-api/api/" // 正式环境 接口地址
|
|
// return 'https://epdc-app.qingdaoshibei.cn/epdc-api/api/' // 电政办 正式环境 接口地址
|
|
// return 'https://epdc-shibei.elinkservice.cn/epdc-api/api/' // 电政办 正式环境 接口地址
|
|
// return 'https://epdc-jinshui.elinkservice.cn/epdc-api/api/' // 锦水正式环境接口地址
|
|
// return 'http://10.10.10.64:9094/epdc-api/api/'
|
|
}
|
|
|
|
function WEBROOT() {
|
|
// return "http://10.10.10.117:8080/#/" // 本地 h5前端地址
|
|
return 'https://epdc-shibei.elinkit.com.cn/#/' // 测试环境 h5前端地址
|
|
// return 'https://epdc.elinkservice.cn/#/' // 正式环境 h5前端地址
|
|
// return 'https://epdc-app.qingdaoshibei.cn/#/' // 电政办 正式环境 前端地址
|
|
// return 'https://epdc-shibei.elinkservice.cn/#/' // 电政办 正式环境 前端地址
|
|
}
|
|
|
|
function getToken() {
|
|
return wx.getStorageSync("token");
|
|
}
|
|
|