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 getAllList(); void update(List 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(); /** * 获取首页weex的链接 * * @return */ public String getHomeWEEXUrl(); /** * 后端查询分页 * * @param key * @param page * @return */ public List 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(); }