From 196bb14112448857a885e32dc4149e308e00b01a Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期四, 15 八月 2024 11:57:15 +0800 Subject: [PATCH] 2024.8.15 各项修正 --- src/main/kotlin/cn/flightfeather/supervision/lightshare/service/NotificationService.kt | 17 +++++++++++------ 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/NotificationService.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/NotificationService.kt index 876e36b..871af70 100644 --- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/NotificationService.kt +++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/NotificationService.kt @@ -1,16 +1,15 @@ package cn.flightfeather.supervision.lightshare.service -import cn.flightfeather.supervision.domain.entity.MeetingInfo -import cn.flightfeather.supervision.domain.entity.VMRoom -import cn.flightfeather.supervision.lightshare.vo.LedgerSubTypeVo -import cn.flightfeather.supervision.lightshare.vo.LedgerVo -import cn.flightfeather.supervision.lightshare.vo.NoticeReadStateVo -import cn.flightfeather.supervision.lightshare.vo.NotificationVo +import cn.flightfeather.supervision.common.wx.MessageWxVo +import cn.flightfeather.supervision.domain.entity.* +import cn.flightfeather.supervision.lightshare.vo.* import java.util.* import javax.servlet.http.HttpServletResponse import kotlin.collections.ArrayList interface NotificationService { + + fun getAllNotices(userId: String, noticeConfig: NoticeConfig, page: Int, perPage: Int): BaseResponse<List<Notice>> fun getNotificationUnRead(userId: String, page: Int, per_page: Int, response: HttpServletResponse): List<NotificationVo> @@ -26,4 +25,10 @@ fun pushMeetingReleaseNotification(meetingVo: MeetingInfo, roomVo: VMRoom?, userId: String, title: String, body: String) fun releaseNotice(userId: String, noticeVo: NotificationVo): Boolean + + fun releaseNotice2(userId: String, noticeVo: NotificationVo): Notice + + fun pushMsgWx(templateId: Int): String + + fun getTemplate(typeId: Int, subTypeId: Int):BaseResponse<List<NoticeTemplate?>> } \ No newline at end of file -- Gitblit v1.9.3