admin
2021-05-29 e75b0d79535a6bcd147cca4a54632b70b42afdb9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
package com.yeshi.fanli.service.inter.msg;
 
import com.yeshi.fanli.dto.msg.MsgCommonDTO;
import com.yeshi.fanli.entity.SystemEnum;
import com.yeshi.fanli.entity.system.ConfigKeyEnum;
import com.yeshi.fanli.exception.config.ConfigException;
 
public interface MsgConfigService {
 
    public String KEY_ZHUSHOU = ConfigKeyEnum.msgConfigZhushou.getKey();
    public String KEY_GUANXUAN = ConfigKeyEnum.msgConfigGuanxuan.getKey();
    public String KEY_NOTIFY = ConfigKeyEnum.msgConfigNotify.getKey();
 
    /**
     * 添加小助手消息
     * 
     * @param dto
     */
    public void addZhuShouMsg(MsgCommonDTO dto, SystemEnum systemEnum) throws ConfigException;
 
    /**
     * 添加官宣任务
     * 
     * @param dto
     */
    public void addGuanXuanMsg(MsgCommonDTO dto, SystemEnum systemEnum) throws ConfigException;
 
    /**
     * 添加通知大图消息
     * 
     * @param dto
     * @throws ConfigException
     */
    public void addNotifyMsg(MsgCommonDTO dto, SystemEnum systemEnum) throws ConfigException;
 
    /**
     * 获取助手消息
     * 
     * @return
     */
    public MsgCommonDTO getZhuShouMsg(SystemEnum systemEnum);
 
    /**
     * 获取官宣消息
     * 
     * @return
     */
    public MsgCommonDTO getGuanXuanMsg( SystemEnum systemEnum);
 
    /**
     * 获取通知大图消息
     * 
     * @return
     */
    public MsgCommonDTO getNotifyMsg(SystemEnum systemEnum);
 
}