IInBoxService.java 745 Bytes
package com.yohoufo.user.service;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.yohoufo.dal.user.model.InBox;
import com.yohoufo.user.requestVO.ListInboxReqVO;
import com.yohoufo.user.requestVO.ListInboxTypeInfoReqVO;
import com.yohoufo.user.responseVO.PageResponseVO;

/**
 * Created by shengguo.cai on 2018/9/11.
 */
public interface IInBoxService {
    /**
     * 查询消息盒子类型相关信息
     * @param reqBO
     * @return
     */
    JSONArray listInboxTypeInfo(ListInboxTypeInfoReqVO reqBO);

    PageResponseVO<InBox> listInboxByTypes(ListInboxReqVO reqVO);

    void addInbox(int uid, Integer type, Integer businessType, String params);

    JSONObject getTotalUnread(int uid);
}