Bläddra i källkod

解决登陆的问题5

JXDS18FUJT 2 år sedan
förälder
incheckning
f0700ad963
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      src/api/request.ts

+ 2 - 2
src/api/request.ts

@@ -35,10 +35,10 @@ request.interceptors.response.use((res: AxiosResponse<Common.Res>) => {
 							location.replace(`https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx3043c2c1decb01ed&redirect_uri=https://sdjk-h5.zzxcx.net/home&response_type=code&scope=snsapi_userinfo&state=LOGIN#wechat_redirect`)
 							break;
 						case "test":
-							location.replace(`https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx67ca1b8c9816ef28&redirect_uri=https://sdjk-h51.zzxcx.net/home/test&response_type=code&scope=snsapi_userinfo&state=LOGIN#wechat_redirect`)
+							location.replace(`https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx3043c2c1decb01ed&redirect_uri=https://sdjk-h51.zzxcx.net/home/test&response_type=code&scope=snsapi_userinfo&state=LOGIN#wechat_redirect`)
 							break;
 						case "production":
-							location.replace(`https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx67ca1b8c9816ef28&redirect_uri=https://sdjk-h5.zzxcx.net/home/test&response_type=code&scope=snsapi_userinfo&state=LOGIN#wechat_redirect`);
+							location.replace(`https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx3043c2c1decb01ed&redirect_uri=https://sdjk-h5.zzxcx.net/home/test&response_type=code&scope=snsapi_userinfo&state=LOGIN#wechat_redirect`);
 							break;
 					}
 				}, 2000)