修改请求时长配置

This commit is contained in:
@fawn-nine
2024-08-14 16:14:10 +08:00
parent c348bdad91
commit eedeb5c37f
5 changed files with 12 additions and 8 deletions

View File

@@ -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/";
}

View File

@@ -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) {

View File

@@ -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',