mirror of https://github.com/jumpserver/jumpserver
perf: 优化飞书信息通知文案
parent
d02e56da78
commit
24949c6013
|
@ -117,8 +117,8 @@ class FeiShu(RequestMixin):
|
|||
}
|
||||
|
||||
body = {
|
||||
'msg_type': 'text',
|
||||
'content': json.dumps({'text': msg})
|
||||
'msg_type': 'interactive',
|
||||
'content': json.dumps({'elements': [{'tag': 'markdown', 'content': msg}]})
|
||||
}
|
||||
|
||||
invalid_users = []
|
||||
|
|
Loading…
Reference in New Issue