yujian
2020-06-16 e7920b14a9baab97035a1a529da85d124a2bcacd
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
package com.yeshi.fanli.service.inter.config;
 
import java.util.List;
 
import org.yeshi.utils.entity.ProxyIP;
 
import com.yeshi.fanli.entity.common.Config;
import com.yeshi.fanli.entity.config.AppHomeFloatImg;
import com.yeshi.fanli.entity.xcx.XCXSettingConfig;
 
public interface ConfigService {
 
    List<Config> getAllList();
 
    void update(List<Config> list);
 
    void update(Config config);
    
    void save(Config config);
 
    String get(String string);
    
    String getByVersion(String key,String platform,int version);
 
    Config getConfig(String key);
 
    /**
     * 小程序设置
     * 
     * @param appId
     * @param version
     * @return
     */
    boolean xcxShow(String appId, Integer version);
 
    /**
     * 小程序设置
     * 
     * @param appId
     * @param version
     * @return
     */
    XCXSettingConfig getXCXInfoByGhId(String ghId);
 
    /**
     * H5域名配置
     * 
     * @return
     */
    String getH5Host();
 
    boolean iosOnLining(int version);
 
    /**
     * 是否需要在服务器内部转链
     * 
     * @return
     */
 
    boolean isConvertTaoBaoLinkInServer();
 
    /**
     * 获取首页悬浮大图
     * 
     * @return
     */
    AppHomeFloatImg getAppHomeFloatImg();
 
    /**
     * 获取首页提示大图
     * 
     * @return
     */
    String getAppHomeFloatNotifyImg();
 
    /**
     * 获取首页weex的链接
     * 
     * @return
     */
    public String getHomeWEEXUrl();
 
    /**
     * 后端查询分页
     * 
     * @param key
     * @param page
     * @return
     */
    public List<Config> listObjects(String key, int page);
 
    /**
     * 后端查询统计
     * 
     * @param key
     * @param page
     * @return
     */
    public int getCount(String key);
 
    public Config getConfig(long id);
 
    /**
     * 获取淘宝代理IP
     * 
     * @return
     */
    public ProxyIP getTaoBaoProxyIP();
 
    /**
     * 搜索发现词
     * @return
     */
    public String getSearchDiscoveryKeys();
 
    /**
     * 根据key查询 无缓存
     * @param key
     * @return
     */
    public Config getConfigBykeyNoCache(String key);
 
    /**
     * 云发单是否开启
     * @param uid
     * @return
     */
    public boolean isRobotCloudOpen();
 
    /**
     * 测试用户信息
     * @return
     */
    public List<String> getTestUsers();
}