feat: 获取openid

This commit is contained in:
eric
2023-12-05 16:00:40 +08:00
parent 46cd9fbb0f
commit ac5c955a8c
2 changed files with 2 additions and 2 deletions

View File

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