diff --git a/yuthon_wechat/controllers/main.py b/yuthon_wechat/controllers/main.py index 7a7f4541a..a48351355 100644 --- a/yuthon_wechat/controllers/main.py +++ b/yuthon_wechat/controllers/main.py @@ -309,7 +309,7 @@ class Home(http.Controller): try: frontend_base_url = 'https://phone.thtzjt.com' if code: - redirect_url = f"{frontend_base_url}/phone/WechatCallback?code={code}?v_route={v_route}" + redirect_url = f"{frontend_base_url}/phone/WechatCallback?code={code}&v_route={v_route}" if state: redirect_url += f"&state={state}" _logger.info(f"手机端OAuth回调,重定向到: {redirect_url}")