''
liukangdong
2024-05-28 e47f3d8ef4d9c5d941f15ba5a24394b6eddd2d29
h5/pages/auth/auth.vue
@@ -13,12 +13,12 @@
      },
      onLoad() {
         const appID = 'wx4d7c10bdec51942b'
         const AppSecret = '922c93596d134fedf5bd22a9354b3bfe'
         // const scope = 'snsapi_userinfo'
         let uri = encodeURIComponent('http://xiaopiqiu2.natapp1.cc')
         let authURL =
           `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appID}&redirect_uri=${uri}&response_type=code&scope=snsapi_userinfo&state=123#wechat_redirect`
         window.location.href = authURL
      const AppSecret = '922c93596d134fedf5bd22a9354b3bfe'
      // const scope = 'snsapi_userinfo'
      let uri = encodeURIComponent('https://xiaopiqiu2.natapp1.cc')
      let authURL =
        `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appID}&redirect_uri=${uri}&response_type=code&scope=snsapi_base&state=123#wechat_redirect`
      window.location.href = authURL
      }
   }
</script>