package com.yeshi.fanli.service.inter.config;
|
|
import java.util.List;
|
|
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();
|
|
/**
|
* 获取首页weex的链接
|
*
|
* @return
|
*/
|
public String getHomeWEEXUrl();
|
|
}
|