update pay ui
This commit is contained in:
4
app.py
4
app.py
@@ -4180,7 +4180,9 @@ def wechat_callback():
|
||||
'debug_user_id': user.id,
|
||||
'debug_nickname': user_info.get('nickname', '')[:10],
|
||||
})
|
||||
return redirect(f"{frontend_redirect}?{debug_params}")
|
||||
# ⚡ 修复:正确处理已有查询参数的 URL
|
||||
separator = '&' if '?' in frontend_redirect else '?'
|
||||
return redirect(f"{frontend_redirect}{separator}{debug_params}")
|
||||
|
||||
# PC 扫码模式:更新状态供前端轮询
|
||||
if not mode:
|
||||
|
||||
Reference in New Issue
Block a user