京东设置

This commit is contained in:
liuwei
2025-05-15 12:10:29 +08:00
parent 53978ee729
commit a1d7cd1b53

View File

@@ -223,8 +223,8 @@ class JDTokenPlugin(MessagePluginInterface):
# 简单预检查token格式
if not token.startswith("pt_key=") or "pt_pin=" not in token:
await bot.send_text_message((roomid if roomid else sender),
f"❌ Token格式错误正确格式应为pt_key=xxx;pt_pin=xxx;",
sender)
f"❌ Token格式错误正确格式应为pt_key=xxx;pt_pin=xxx;",
sender)
return False, "Token格式错误"
try: