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

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.yohoufo.user.requestVO.ListInboxReqVO;
import com.yohoufo.user.requestVO.ListInboxTypeInfoReqVO;
import com.yohoufo.user.responseVO.InBoxVO;
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<InBoxVO> listInboxByTypes(ListInboxReqVO reqVO);

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

    JSONObject getTotalUnread(int uid);
    
    void addBatchInboxByUids(String uids, Integer type, Integer businessType, String params);

    JSONObject getTotalUnreadEx(int uid);
}