feat:增加股票和订饭任务
This commit is contained in:
@@ -5,7 +5,7 @@ webhook_url = 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send'
|
||||
webhook_key = 'f09eb098-f709-4fc6-83b5-4a08a8431b8f'
|
||||
|
||||
|
||||
def send_wechat_message(message: str):
|
||||
def send_wechat_message(message):
|
||||
response = requests.post(
|
||||
webhook_url,
|
||||
headers={
|
||||
@@ -15,4 +15,4 @@ def send_wechat_message(message: str):
|
||||
data=json.dumps(message, ensure_ascii=False).encode('utf-8')
|
||||
)
|
||||
|
||||
return response.json()
|
||||
return response.json()
|
||||
|
||||
Reference in New Issue
Block a user