feat: 修改提示语
This commit is contained in:
Binary file not shown.
@@ -18,7 +18,7 @@ async def root():
|
|||||||
# https://open.feishu.cn/open-apis/bot/v2/hook/5fb1b44c-3446-42ef-9b3a-dd37731567dd
|
# https://open.feishu.cn/open-apis/bot/v2/hook/5fb1b44c-3446-42ef-9b3a-dd37731567dd
|
||||||
try:
|
try:
|
||||||
r = requests.post('https://open.feishu.cn/open-apis/bot/v2/hook/5fb1b44c-3446-42ef-9b3a-dd37731567dd',
|
r = requests.post('https://open.feishu.cn/open-apis/bot/v2/hook/5fb1b44c-3446-42ef-9b3a-dd37731567dd',
|
||||||
data=json.dumps({'msg_type': 'text', "content": {"text": "request example"}}), headers=headers)
|
data=json.dumps({'msg_type': 'text', "content": {"text": "cityNew有新用户注册"}}), headers=headers)
|
||||||
except(e):
|
except(e):
|
||||||
print('e')
|
print('e')
|
||||||
return {"message": "触发飞书webhook"}
|
return {"message": "触发飞书webhook"}
|
||||||
|
|||||||
Reference in New Issue
Block a user