mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-01 15:37:19 +00:00
perf: 优化飞书信息通知文案
This commit is contained in:
@@ -117,8 +117,8 @@ class FeiShu(RequestMixin):
|
|||||||
}
|
}
|
||||||
|
|
||||||
body = {
|
body = {
|
||||||
'msg_type': 'text',
|
'msg_type': 'interactive',
|
||||||
'content': json.dumps({'text': msg})
|
'content': json.dumps({'elements': [{'tag': 'markdown', 'content': msg}]})
|
||||||
}
|
}
|
||||||
|
|
||||||
invalid_users = []
|
invalid_users = []
|
||||||
|
Reference in New Issue
Block a user