fix:小修改

This commit is contained in:
SengokuCola
2025-04-03 22:21:32 +08:00
parent 06ef607e77
commit 10a72b489e
4 changed files with 16 additions and 1 deletions

View File

@@ -67,6 +67,8 @@ class Message_Sender:
try:
end_point = global_config.api_urls.get(message.message_info.platform, None)
if end_point:
# logger.info(f"发送消息到{end_point}")
# logger.info(message_json)
await global_api.send_message(end_point, message_json)
else:
raise ValueError(f"未找到平台:{message.message_info.platform} 的url配置请检查配置文件")