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.
28 lines
961 B
28 lines
961 B
/*
|
|
* @Author: mk 2403457699@qq.com
|
|
* @Date: 2024-10-11 09:22:38
|
|
* @LastEditors: mk 2403457699@qq.com
|
|
* @LastEditTime: 2024-10-14 17:48:57
|
|
* @FilePath: \epmet-work-mp\utils\config.js
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
*/
|
|
module.exports = {
|
|
BASEURL: BASEURL,
|
|
Token: getToken,
|
|
userId: ""
|
|
};
|
|
|
|
function BASEURL() {
|
|
return 'https://epmet.xianghezhijia.com/api/' // 向和之家环境
|
|
// return 'http://192.168.1.144/api/' //测试环境
|
|
// return 'http://219.146.91.110:30801/api/'
|
|
// return 'https://epmet-preview.elinkservice.cn/api/' // 演示环境
|
|
// return 'http://192.168.1.144/api/' //测试环境
|
|
// return 'http://219.146.91.110:30801/api/'
|
|
//return http://219.146.91.110:30801/api //外网
|
|
}
|
|
|
|
function getToken() {
|
|
return wx.getStorageSync("token");
|
|
}
|
|
|