修改请求时长配置
This commit is contained in:
@@ -18,6 +18,7 @@ if (process.env.NODE_ENV === 'development') {
|
||||
// baseUrl = "http://59.110.212.44:9100/pb/";
|
||||
// baseUrl = "https://testapi.nuttyreading.com/";
|
||||
baseUrl = "https://api.nuttyreading.com/"; //1
|
||||
// baseUrl = "http://192.168.110.100:9200/pb/"; // 开发用电脑
|
||||
// baseUrl = "ws://twin-ui.com:6001/";
|
||||
// socketUrl = "ws://twin-ui.com:6001/";
|
||||
}
|
||||
|
||||
@@ -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:'60000'
|
||||
});
|
||||
// 添加获取七牛云token的方法
|
||||
$http.getQnToken = function(callback) {
|
||||
|
||||
@@ -271,7 +271,7 @@ export const setWXPay = function(payInfo, callback) {
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
}).then(res => {
|
||||
console.log(res,'resshoppingPay')
|
||||
console.log('resshoppingPay',res)
|
||||
if(res.code === 0){
|
||||
let payData = {
|
||||
provider : 'wxpay',
|
||||
|
||||
Reference in New Issue
Block a user