package com.ruoyi.service;

import com.ruoyi.controller.req.IsNeedGetOrderDetailReq2;
import com.ruoyi.controller.req.MessageReadOrDeleteReq;
import com.ruoyi.response.ResponseData;
import com.ruoyi.vo.UserVo;
import org.springframework.stereotype.Component;

/**
 * 消息
 *
 * @author liwenlong
 * @date 2023-04-18
 */
@Component
public interface MessageService {

    /**
     * 消息中心
     * @param userVo
     */
    ResponseData messageCenter(UserVo userVo);

    ResponseData messageReadOrDelete(MessageReadOrDeleteReq req, UserVo userVo);

    ResponseData<Boolean> isNeedGetMessageCenter(IsNeedGetOrderDetailReq2 req, UserVo userVo);
}