| | |
| | | package com.yeshi.fanli.service.inter.msg;
|
| | |
|
| | | import com.yeshi.fanli.dto.msg.MsgCommonDTO;
|
| | | import com.yeshi.fanli.exception.ConfigException;
|
| | | import com.yeshi.fanli.entity.system.ConfigKeyEnum;
|
| | | import com.yeshi.fanli.exception.config.ConfigException;
|
| | |
|
| | | public interface MsgConfigService {
|
| | |
|
| | | public String KEY_ZHUSHOU = "msg-config-zhushou";
|
| | | public String KEY_GUANXUAN = "msg-config-guanxuan";
|
| | | public String KEY_ZHUSHOU = ConfigKeyEnum.msgConfigZhushou.getKey();
|
| | | public String KEY_GUANXUAN = ConfigKeyEnum.msgConfigGuanxuan.getKey();
|
| | | public String KEY_NOTIFY = ConfigKeyEnum.msgConfigNotify.getKey();
|
| | |
|
| | | /**
|
| | | * 添加小助手消息
|
| | |
| | | public void addGuanXuanMsg(MsgCommonDTO dto) throws ConfigException;
|
| | |
|
| | | /**
|
| | | * 添加通知大图消息
|
| | | * |
| | | * @param dto
|
| | | * @throws ConfigException
|
| | | */
|
| | | public void addNotifyMsg(MsgCommonDTO dto) throws ConfigException;
|
| | |
|
| | | /**
|
| | | * 获取助手消息
|
| | | *
|
| | | * @return
|
| | |
| | | * @return
|
| | | */
|
| | | public MsgCommonDTO getGuanXuanMsg();
|
| | |
|
| | | /**
|
| | | * 获取通知大图消息
|
| | | * |
| | | * @return
|
| | | */
|
| | | public MsgCommonDTO getNotifyMsg();
|
| | |
|
| | | }
|