Administrator
2018-10-30 c0c91fbda1ba601c4c8cb6d12fd43dfbe02eea5d
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
package com.yeshi.fanli.service.inter.taobao;
 
import java.util.List;
 
import org.springframework.cache.annotation.Cacheable;
 
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);
 
}