com.quhaodian.notice.rest.api.NotificationApi Maven / Gradle / Ivy
package com.quhaodian.notice.rest.api;
import com.quhaodian.discover.rest.base.ResponseObject;
import com.quhaodian.notice.rest.domain.page.NotificationPage;
import com.quhaodian.notice.rest.domain.request.NotificationPageRequest;
import com.quhaodian.notice.rest.domain.request.NotificationReadRequest;
/**
* 通知接口
*/
public interface NotificationApi {
/**
* 获取某个用户的通知
*
* @param request
* @return
*/
NotificationPage page(NotificationPageRequest request);
/**
* 某个人读了某条通知
*
* @param request
* @return
*/
ResponseObject read(NotificationReadRequest request);
}