qwfqw
This commit is contained in:
@@ -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')
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user