|
@@ -152,7 +152,6 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</body>
|
|
-
|
|
|
|
<script src="https://cdn.bootcdn.net/ajax/libs/axios/1.3.6/axios.min.js"></script>
|
|
<script src="https://cdn.bootcdn.net/ajax/libs/axios/1.3.6/axios.min.js"></script>
|
|
<script>
|
|
<script>
|
|
let app = new Vue({
|
|
let app = new Vue({
|
|
@@ -290,13 +289,13 @@
|
|
this.getWxCode()
|
|
this.getWxCode()
|
|
},
|
|
},
|
|
getWxCode() {
|
|
getWxCode() {
|
|
- /* setTimeout(() => {
|
|
|
|
|
|
+ setTimeout(() => {
|
|
const appId = 'wxf05800eea975a68b'
|
|
const appId = 'wxf05800eea975a68b'
|
|
const redirect_uri = encodeURIComponent('https://h5-pay.ai160.com/reader-ios?uid=' + this.uid)
|
|
const redirect_uri = encodeURIComponent('https://h5-pay.ai160.com/reader-ios?uid=' + this.uid)
|
|
// const redirect_uri = encodeURIComponent('https://h5-pay.ai160.com/reader-ios?uid=d83d947655f6455a96f4197d31afa6d4')
|
|
// const redirect_uri = encodeURIComponent('https://h5-pay.ai160.com/reader-ios?uid=d83d947655f6455a96f4197d31afa6d4')
|
|
const url = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=' + appId + '&redirect_uri=' + redirect_uri + '&response_type=code&scope=snsapi_base#wechat_redirect'
|
|
const url = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=' + appId + '&redirect_uri=' + redirect_uri + '&response_type=code&scope=snsapi_base#wechat_redirect'
|
|
location.href = url
|
|
location.href = url
|
|
- }, 300) */
|
|
|
|
|
|
+ }, 300)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
})
|
|
})
|