package com.yeshi.fanli.service.inter.msg;
|
|
import com.yeshi.fanli.entity.bus.msg.UserMsgUnReadNum;
|
|
/**
|
* 消息未读服务
|
*
|
* @author Administrator
|
*
|
*/
|
public interface UserMsgReadStateService {
|
|
/**
|
* 增加订单消息未读数
|
*
|
* @param uid
|
* @param count
|
*/
|
public void addOrderMsgUnReadCount(Long uid, int count);
|
|
/**
|
* 增加账号消息未读数
|
*
|
* @param uid
|
* @param count
|
*/
|
public void addAccountMsgUnReadCount(Long uid, int count);
|
|
/**
|
* 增加资金消息未读数
|
*
|
* @param uid
|
* @param count
|
*/
|
public void addMoneyMsgUnReadCount(Long uid, int count);
|
|
/**
|
* 增加邀请消息未读数
|
*
|
* @param uid
|
* @param count
|
*/
|
public void addInviteMsgUnReadCount(Long uid, int count);
|
|
/**
|
* 增加系统消息未读数
|
*
|
* @param uid
|
* @param count
|
*/
|
public void addSystemMsgUnReadCount(Long uid, int count);
|
|
/**
|
* 增加其他消息未读数
|
* @param uid
|
* @param count
|
*/
|
public void addOtherMsgUnReadCount(Long uid, int count);
|
|
|
/**
|
* 获取用户所有未读消息数
|
*
|
* @param uid
|
* @return
|
*/
|
public UserMsgUnReadNum getReadStateByUid(Long uid);
|
|
/**
|
* 设置所有消息已读
|
*
|
* @param uid
|
*/
|
public void setAllMsgRead(Long uid);
|
|
/**
|
* 读订单消息
|
*
|
* @param uid
|
*/
|
public void readOrderMsg(Long uid);
|
|
/**
|
* 读账号消息
|
*
|
* @param uid
|
*/
|
public void readAccountMsg(Long uid);
|
|
/**
|
* 读资金消息
|
*
|
* @param uid
|
*/
|
public void readMoneyMsg(Long uid);
|
|
/**
|
* 读邀请消息
|
*
|
* @param uid
|
*/
|
public void readInviteMsg(Long uid);
|
|
/**
|
* 读系统消息
|
*
|
* @param uid
|
*/
|
public void readUserSystemMsg(Long uid);
|
|
/**
|
* 读其他消息
|
* @param uid
|
*/
|
public void readOtherMsg(Long uid);
|
}
|