vip功能
This commit is contained in:
@@ -2,42 +2,12 @@ let baseUrl = "";
|
||||
let socketUrl = "";
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
// 开发环境
|
||||
// baseUrl = "http://localhost:7001/";
|
||||
// socketUrl = "ws://localhost:6001/";
|
||||
// baseUrl = "https://twin-ui.com/demo/";
|
||||
// baseUrl = "https://testapi.nuttyreading.com/"; // 线上测试环境
|
||||
// baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
|
||||
|
||||
|
||||
|
||||
|
||||
baseUrl = "https://api.nuttyreading.com/"; // 线上正式
|
||||
|
||||
|
||||
// baseUrl = "http://101.201.146.165:8088/App-EH/"; // 一路健康APP线上正式
|
||||
|
||||
|
||||
// baseUrl = "http://192.168.110.100:9200/pb/"; // 开发用电脑
|
||||
// baseUrl = "http://59.110.212.44:9200/pb/";
|
||||
// baseUrl = "http://192.168.110.100:9100/pb/"; // 开发用电脑
|
||||
|
||||
|
||||
// baseUrl = "http://192.168.110.110:9200/pb/"; //磊哥
|
||||
|
||||
|
||||
|
||||
// baseUrl = "http://192.168.110.38:9200/pb/"; // 吴春磊笔记本1
|
||||
// socketUrl = "ws://8.129.186.35:6001/";
|
||||
baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
|
||||
//baseUrl = "https://api.nuttyreading.com/"; // 线上正式
|
||||
} else if (process.env.NODE_ENV === 'production') {
|
||||
// baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
|
||||
baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
|
||||
// 生产环境11
|
||||
|
||||
// baseUrl = "http://192.168.110.110:9200/pb/"; //磊哥
|
||||
// baseUrl = "http://59.110.212.44:9100/pb/";
|
||||
// baseUrl = "https://testapi.nuttyreading.com/";
|
||||
baseUrl = "https://api.nuttyreading.com/"; //1
|
||||
// baseUrl = "ws://twin-ui.com:6001/";
|
||||
// socketUrl = "ws://twin-ui.com:6001/";
|
||||
//baseUrl = "https://api.nuttyreading.com/"; //1
|
||||
}
|
||||
const courtConfig = {
|
||||
//微信公众号APPID
|
||||
|
||||
@@ -39,7 +39,8 @@ let $http = new request({
|
||||
// 'Content-Type': 'application/json;charset=UTF-8',
|
||||
'Content-Type': 'application/x-www-form-urlencoded',
|
||||
// 'project_token': base.projectToken, //项目token(可删除)
|
||||
}
|
||||
},
|
||||
timeout: '15000' // 15秒
|
||||
});
|
||||
// 添加获取七牛云token的方法
|
||||
$http.getQnToken = function (callback) {
|
||||
|
||||
Reference in New Issue
Block a user