package cn.flightfeather.supervision.lightshare.service
|
|
import cn.flightfeather.supervision.common.wx.MessageWxVo
|
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 java.util.*
|
import javax.servlet.http.HttpServletResponse
|
import kotlin.collections.ArrayList
|
|
interface NotificationService {
|
|
fun getNotificationUnRead(userId: String, page: Int, per_page: Int, response: HttpServletResponse): List<NotificationVo>
|
|
fun updateReadState(userId: String, readStates: List<NoticeReadStateVo>)
|
|
fun getNotificationText(notificationId: String): String
|
|
fun getUnReadNoticeNum(userId: String): Int
|
|
/**
|
* 推送会议发布通知
|
*/
|
fun pushMeetingReleaseNotification(meetingVo: MeetingInfo, roomVo: VMRoom?, userId: String, title: String, body: String)
|
|
fun releaseNotice(userId: String, noticeVo: NotificationVo): Boolean
|
|
fun pushMsgWx(templateId: Int): String
|
}
|