This commit is contained in:
aaron 2025-03-08 13:58:34 +08:00
parent 36c7ac6f1b
commit 7312aedaaf

View File

@ -71,10 +71,11 @@ class MPClient:
async with session.post(api_url, json=message) as response:
result = await response.json()
print(f"发送模板消息结果: {result}")
if result.get("errcode") == 0:
return True
print(f"发送模板消息失败: {result}")
return False
except Exception as e: