feat:设置跨域代理
This commit is contained in:
@@ -38,9 +38,9 @@ const Index = () => {
|
||||
} else {
|
||||
// window.alert('不存在')
|
||||
let nowUrl = window.location.href;
|
||||
window.alert(nowUrl)
|
||||
// window.alert(nowUrl)
|
||||
let payUrl = `https://payjs.cn/api/openid?mchid=1561724891&callback_url=${nowUrl}`;
|
||||
window.location.href = payUrl;
|
||||
// window.location.href = payUrl;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -214,7 +214,7 @@ const Index = () => {
|
||||
className="submitBtn"
|
||||
onClick={() => {
|
||||
Taro.navigateTo({
|
||||
url: "/pages/meetup/Detail/index?id=20231206&openid='",
|
||||
url: "/pages/meetup/Detail/index?id=20231206",
|
||||
});
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user