diff --git a/src/api/notice.ts b/src/api/notice.ts index af19770..2127b8c 100644 --- a/src/api/notice.ts +++ b/src/api/notice.ts @@ -6,4 +6,9 @@ export function noticeTotal() { export function getNewMailAudio() { return request.get({ url: '/notice/newMailAudio' }) +} + + +export function getlist(query: any) { + return request.get({ url: '/notice/list',query }) } \ No newline at end of file diff --git a/src/layout/components/NoticeMessage.vue b/src/layout/components/NoticeMessage.vue index 8fe9138..1f2c326 100644 --- a/src/layout/components/NoticeMessage.vue +++ b/src/layout/components/NoticeMessage.vue @@ -1,5 +1,5 @@