fix: 设置请求接口

This commit is contained in:
zhangds 2024-03-13 17:40:04 +08:00
parent a53799facb
commit 7658a5675d
1 changed files with 10 additions and 2 deletions

View File

@ -406,9 +406,17 @@
console.log("1")
// 判断是否需要静默授权
if (form_data_res.data.is_have_webview_voucher) {
req.axiosGet(`https://openapi.1688sup.com/wechat/oauth?jump=http://test.22233.cn/2106`).then(res => {
console.log("res =>", res);
// req.axiosGet(`https://openapi.1688sup.com/wechat/oauth?jump=http://test.22233.cn/2106`).then(res => {
// console.log("res =>", res);
// })
axios({
method: 'get',
url: 'https://openapi.1688sup.com/wechat/oauth?jump=http://test.22233.cn/2106',
})
.then(resp => {
console.log("resp =>", resp)
});
}
// this.wxgzAuth(res.data.is_have_webview_voucher, res.data.token);