package com.ks.daylucky.service;
|
|
import com.ks.daylucky.exception.UserInfoExtraException;
|
import com.ks.daylucky.pojo.DO.UserInfoExtra;
|
import com.ks.daylucky.pojo.DTO.UserMsgSettings;
|
|
public interface UserInfoExtraService {
|
|
|
/**
|
* 初始化
|
*
|
* @param uid
|
*/
|
public void init(Long uid);
|
|
/**
|
* 获取详情
|
*
|
* @param uid
|
* @return
|
*/
|
public UserInfoExtra getUserInfoExtra(Long uid);
|
|
/**
|
* 设置消息已读
|
*
|
* @param uid
|
*/
|
public void setMsgRead(Long uid) throws UserInfoExtraException;
|
|
|
/**
|
* 消息设置
|
*
|
* @param uid
|
* @param setting
|
*/
|
public void setUserMsgSetting(Long uid, UserMsgSettings setting);
|
|
/**
|
* 获取用户消息设置信息
|
*
|
* @param uid
|
* @return
|
*/
|
public UserMsgSettings getUserMsgSettings(Long uid);
|
|
|
/**
|
* 添加未读消息的数量
|
*
|
* @param uid
|
* @param count
|
*/
|
public void addMsgUnReadCount(Long uid, int count);
|
|
|
}
|