|
@@ -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=wx3043c2c1decb01ed&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&response_type=code&scope=snsapi_userinfo&state=LOGIN#wechat_redirect`)
|
|
|
break;
|
|
|
case "production":
|
|
|
- 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`);
|
|
|
+ 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;
|
|
|
}
|
|
|
}, 2000)
|