mirror of
https://github.com/veops/cmdb.git
synced 2025-08-07 17:07:46 +08:00
feat: notice_config access messenger (#190)
This commit is contained in:
@@ -69,3 +69,11 @@ class NoticeConfigGetView(APIView):
|
||||
def get(self):
|
||||
res = NoticeConfigCRUD.get_all()
|
||||
return self.jsonify(res)
|
||||
|
||||
|
||||
class NoticeAppBotView(APIView):
|
||||
url_prefix = (f'{prefix}/app_bot',)
|
||||
|
||||
def get(self):
|
||||
res = NoticeConfigCRUD.get_app_bot()
|
||||
return self.jsonify(res)
|
||||
|
Reference in New Issue
Block a user