admin
2019-01-26 9e0b95dc01a1fc0751c257414d96907d945cdeb3
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
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);
 
    String get(String string);
 
    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, int page);
 
    public Config getConfig(long id);
 
    /**
     * 获取淘宝代理IP
     * 
     * @return
     */
    public ProxyIP getTaoBaoProxyIP();
}