提交
This commit is contained in:
@@ -2,13 +2,13 @@ let baseUrl = "";
|
||||
let socketUrl = "";
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
// 开发环境
|
||||
//baseUrl = "https://api.nuttyreading.com/"; //线上正式
|
||||
baseUrl = "http://192.168.110.100:9200/pb/"; //张川川
|
||||
baseUrl = "https://api.nuttyreading.com/"; //线上正式
|
||||
// baseUrl = "http://192.168.110.100:9200/pb/"; //张川川
|
||||
} else if (process.env.NODE_ENV === 'production') {
|
||||
// 生产环境11
|
||||
//baseUrl = "https://api.nuttyreading.com/";
|
||||
baseUrl = "https://api.nuttyreading.com/";
|
||||
//baseUrl = "https://testapi.nuttyreading.com/"; //线上正式
|
||||
baseUrl = "http://192.168.110.100:9200/pb/"; //张川川
|
||||
// baseUrl = "http://192.168.110.100:9200/pb/"; //张川川
|
||||
}
|
||||
const courtConfig = {
|
||||
//微信公众号APPID1
|
||||
|
||||
@@ -40,7 +40,7 @@ let $http = new request({
|
||||
'Content-Type': 'application/x-www-form-urlencoded',
|
||||
// 'project_token': base.projectToken, //项目token(可删除)
|
||||
},
|
||||
timeout: '15000' // 15秒
|
||||
timeout: '20000' // 15秒
|
||||
|
||||
});
|
||||
// 添加获取七牛云token的方法
|
||||
|
||||
Reference in New Issue
Block a user