fwqf
This commit is contained in:
@@ -102,10 +102,8 @@ const Index = () => {
|
||||
.split("#")[0]
|
||||
.split("?")[1]
|
||||
.split("=")[1];
|
||||
// alert("1111==>" + hashopenid);
|
||||
} else {
|
||||
hashopenid = window.localStorage.getItem("h5openid");
|
||||
// alert("222==>" + hashopenid);
|
||||
}
|
||||
if (!!hashopenid && hashopenid != "undefined" && hashopenid != "null") {
|
||||
window.localStorage.setItem("h5openid", hashopenid);
|
||||
@@ -126,7 +124,6 @@ const Index = () => {
|
||||
let payUrl = `https://payjs.cn/api/openid?mchid=1561724891&callback_url=${nowUrl}`;
|
||||
window.location.href = payUrl;
|
||||
}else{
|
||||
// alert('没有wxid')
|
||||
}
|
||||
|
||||
|
||||
@@ -149,7 +146,6 @@ const Index = () => {
|
||||
},
|
||||
success: function (res) {
|
||||
console.log(res.data);
|
||||
// window.alert(res.data.jsapi);
|
||||
WeixinJSBridge.invoke(
|
||||
"getBrandWCPayRequest",
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user