This commit is contained in:
hackrobot
2024-04-11 09:52:26 +08:00
parent 6af9642ceb
commit 621e7fe1f2

View File

@@ -88,8 +88,8 @@ const Index = () => {
const params = Taro.getCurrentInstance().router.params;
let hashopenid = window.localStorage.getItem("h5openid");
let localwxid = window.localStorage.getItem("wxid");
alert("hashopenid", hashopenid);
alert("localwxid", localwxid);
// alert("hashopenid", hashopenid);
// alert("localwxid", localwxid);
//发起网络请求
Taro.request({
@@ -150,7 +150,7 @@ const Index = () => {
let payUrl = `https://payjs.cn/api/openid?mchid=1561724891&callback_url=${nowUrl}`;
window.location.href = payUrl;
}else{
alert('没有wxid')
// alert('没有wxid')
}