feat: 获取openid
This commit is contained in:
@@ -40,7 +40,7 @@ const Index = () => {
|
||||
let nowUrl = window.location.href;
|
||||
// window.alert(nowUrl)
|
||||
let payUrl = `https://payjs.cn/api/openid?mchid=1561724891&callback_url=${nowUrl}`;
|
||||
// window.location.href = payUrl;
|
||||
window.location.href = payUrl;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user