<template>
  <div></div>
</template>

<script>
  export default {
    layout: 'mobileNoHeader',
    mounted() {
      this.$nextTick(() => {
        // this.$route.query.url
        window.location.href = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxb3274b676737a319&redirect_uri=https://mall.usoftchina.com${this.$route.query.url}&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect`
        // window.location.href = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxd29bbca61728b189&redirect_uri=http://yq43d5.natappfree.cc${this.$route.query.url}&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect`
      })
    }
  }
</script>
