Browse Source

重定向

xuqiaoying 2 năm trước cách đây
mục cha
commit
fb8d124be8
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      manifest.json
  2. 1 1
      pages/index/index.vue

+ 1 - 1
manifest.json

@@ -1,6 +1,6 @@
 {
     "name" : "Applet",
-    "appid" : "__UNI__F4122BF",
+    "appid" : "",
     "description" : "",
     "versionName" : "1.0.0",
     "versionCode" : "100",

+ 1 - 1
pages/index/index.vue

@@ -347,7 +347,7 @@ export default {
 					"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx6f48f721d18244eb" +
 					"&redirect_uri=" +
 					encodeURIComponent('https://www.xyyxt.net/?ask_type=h.xyyxt.net') +
-					"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect"
+					"&response_type=code&scope=snsapi_userinfo&state=STATE&connect_redirect=1#wechat_redirect"
 				)
 				return
 			} else {