package com.yeshi.fanli.service.inter.taobao;
|
|
import java.util.List;
|
|
import com.yeshi.fanli.entity.taobao.TaoBaoUnionConfig;
|
|
public interface TaoBaoUnionConfigService {
|
/**
|
* 根据类型获取配置信息
|
*
|
* @param type
|
* @return
|
*/
|
List<TaoBaoUnionConfig> getConfigByType(int type);
|
|
|
List<TaoBaoUnionConfig> getConfigByTypeCache(int type);
|
|
/**
|
* 添加配置信息
|
*
|
* @param config
|
*/
|
public void addConfig(TaoBaoUnionConfig config);
|
|
/**
|
* 根据APPID获取信息
|
*
|
* @param appId
|
* @return
|
*/
|
public TaoBaoUnionConfig getConfigByAppId(String appId);
|
|
|
|
public TaoBaoUnionConfig getConfigByAppIdCache(String appId);
|
|
|
|
/**
|
* 根据appKey查询
|
* @param appKey
|
* @return
|
*/
|
public TaoBaoUnionConfig getConfigByAppKeyCache(String appKey);
|
}
|