fix: 设置请求接口
This commit is contained in:
parent
a53799facb
commit
7658a5675d
12
index.html
12
index.html
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue