Forráskód Böngészése

fix: 更新支付成功跳转链接和微信授权配置

将支付成功后的跳转链接从 gbyy91.com 更新为 mewkeji.com,并同步更新微信授权 URL 中的 redirect_uri。
同时更新微信 OAuth 授权使用的 appid 以匹配新的域名配置。
wanggao 1 hete
szülő
commit
ee11eefd7d
2 módosított fájl, 3 hozzáadás és 3 törlés
  1. 1 1
      src/views/Recharge.vue
  2. 2 2
      src/views/Search.vue

+ 1 - 1
src/views/Recharge.vue

@@ -371,7 +371,7 @@ export default {
     handlePaymentSuccess(res) {
       console.log('支付成功:', res)
       this.$toast.success('支付成功')
-      window.location.href = 'https://gbyy91.com/pay'
+      window.location.href = 'https://mewkeji.com/pay'
     },
     
     // 处理支付失败

+ 2 - 2
src/views/Search.vue

@@ -136,9 +136,9 @@ export default {
   const strictCode = strictMatch ? strictMatch[1] : null;
   if (!strictCode) {
     // 记录当前页面URL作为重定向目标
-    const redirectUrl = `https%3A%2F%2Fmylive91.com%2Fpay`
+    const redirectUrl = `https%3A%2F%2Fmewkeji.com%2Fpay`
     // 构建微信授权URL
-    const authUrl = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxbed7a5a18f65381a&redirect_uri=${redirectUrl}&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect`
+    const authUrl = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx2a1c96c7e81f98f2&redirect_uri=${redirectUrl}&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect`
     setTimeout(() =>{
     window.location.href = authUrl
     }, 300)