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();
|
}
|