feat:更新日志存储和查询模块
This commit is contained in:
@@ -26,7 +26,8 @@ def send_wechat_message(message_type: MessageEnum, message: str):
|
||||
settings.wechat_webhook_url,
|
||||
headers={"Content-Type": "application/json"},
|
||||
params={'key': settings.wechat_webhook_key},
|
||||
data=json.dumps(wechat_message, ensure_ascii=False).encode('utf-8')
|
||||
data=json.dumps(wechat_message, ensure_ascii=False).encode('utf-8'),
|
||||
timeout=5
|
||||
)
|
||||
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user