|
@@ -32,13 +32,13 @@ request.interceptors.response.use((res: AxiosResponse<Common.Res>) => {
|
|
|
|
|
|
switch (import.meta.env.MODE) {
|
|
|
case "development":
|
|
|
- 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`)
|
|
|
+ location.replace(`https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx3043c2c1decb01ed&redirect_uri=https://sdjk-h5.zzxcx.net/&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&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/&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&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/&response_type=code&scope=snsapi_userinfo&state=LOGIN#wechat_redirect`);
|
|
|
break;
|
|
|
}
|
|
|
}, 2000)
|