fix(tencent): 修复扫码成功判定——登录后停在 /platform 首页也视为成功;扫码/过期状态实时推给前端
This commit is contained in:
@@ -764,6 +764,9 @@ def _qrcode_to_queue(status_queue):
|
||||
if isinstance(payload, dict):
|
||||
data_url = payload.get("image_data_url") or ""
|
||||
image_path = payload.get("image_path") or ""
|
||||
status_text = payload.get("status_text") or ""
|
||||
if status_text:
|
||||
status_queue.put(status_text)
|
||||
if data_url:
|
||||
status_queue.put(data_url)
|
||||
elif image_path and os.path.exists(image_path):
|
||||
|
||||
Reference in New Issue
Block a user