Compare commits

...

2 Commits

View File

@@ -173,7 +173,7 @@ def _summary_keyboard(can_reply: bool = True, is_promotion: bool = False,
kb.append([{"text": f"🔗 {text}", "url": url}]) kb.append([{"text": f"🔗 {text}", "url": url}])
if verification_code: if verification_code:
code = verification_code.split(" ", 1)[-1] if " " in verification_code else verification_code code = verification_code.split(" ", 1)[-1] if " " in verification_code else verification_code
kb.append([{"text": f"📋 复制验证码 {code}", "type": "copy_text", "text": code}]) kb.append([{"text": code, "type": "copy_text", "copy_text": code}])
return {"inline_keyboard": kb} return {"inline_keyboard": kb}