切换864登录二维码到NewX并接入安全验证链接
This commit is contained in:
2
robot.py
2
robot.py
@@ -542,12 +542,14 @@ class Robot:
|
||||
provider_stage = str((payload or {}).get("provider_stage", "waiting_scan") or "waiting_scan").strip()
|
||||
connection_ready = bool((payload or {}).get("connection_ready", False))
|
||||
login_required = bool((payload or {}).get("login_required", True))
|
||||
verification_url = str((payload or {}).get("verification_url", "") or "").strip()
|
||||
expires_in = (payload or {}).get("expires_in")
|
||||
expires_in = None if expires_in in (None, "") else max(0, int(expires_in))
|
||||
current_record = {
|
||||
"uuid": uuid_value,
|
||||
"scan_url": scan_url,
|
||||
"raw_url": raw_url,
|
||||
"verification_url": verification_url,
|
||||
"image_data": self._build_qr_image_data(scan_url),
|
||||
"status": status,
|
||||
"status_text": status_text,
|
||||
|
||||
Reference in New Issue
Block a user