mirror of https://github.com/jumpserver/jumpserver
perf: 优化飞书信息通知文案
parent
873e6d1ab9
commit
7707101379
|
@ -116,9 +116,13 @@ class FeiShu(RequestMixin):
|
|||
'receive_id_type': 'user_id'
|
||||
}
|
||||
|
||||
"""
|
||||
https://open.feishu.cn/document/common-capabilities/message-card/message-cards-content
|
||||
/using-markdown-tags
|
||||
"""
|
||||
body = {
|
||||
'msg_type': 'interactive',
|
||||
'content': json.dumps({'elements':[{'tag':'markdown','content': msg}]})
|
||||
'content': json.dumps({'elements': [{'tag': 'markdown', 'content': msg}]})
|
||||
}
|
||||
|
||||
invalid_users = []
|
||||
|
|
Loading…
Reference in New Issue