类 LocalMerchantCacheConfig
java.lang.Object
com.iplatform.core.PlatformConfiguration
com.iplatform.base.config.CacheConfiguration
com.ishop.merchant.config.LocalMerchantCacheConfig
@Configuration
@ConditionalOnProperty(prefix="iplatform.cache",
name="redis-enabled",
havingValue="false",
matchIfMissing=true)
public class LocalMerchantCacheConfig
extends CacheConfiguration
-
字段概要
从类继承的字段 com.iplatform.core.PlatformConfiguration
logger -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明articleCategoryCache(ArticleServiceImpl articleService) cityCacheProvider(CityServiceImpl cityService) expressCache(ExpressServiceImpl expressService) 快递公司缓存levelCache(LevelServiceImpl levelService) 系统用户等级定义缓存。merCategoryCacheProvider(MerchantCategoryServiceImpl merchantCategoryService) 商户分类缓存定义。merchantCache(MerchantServiceImpl merchantService) merProductCategoryCache(MerchantProductCategoryServiceImpl merchantProductCategoryService) 商户商品分类缓存。merTypeCacheProvider(MerchantTypeServiceImpl merchantTypeService) productAttrCache(ProductAttrServiceImpl productAttrService) 商品属性定义缓存,注意:这是个集合缓存,与之前Hash缓存不同。productBrandCache(ProductBrandServiceImpl productBrandService) productCache(ProductServiceImpl productService) 商品基本信息缓存productCategoryCache(ProductCategoryServiceImpl productCategoryService, FileOperateSpi fileOperateSpi) userRegCache(UserRegisterServiceImpl userRegisterService) userRegConfigCache(UserRegConfigServiceImpl userRegConfigService) 用户自定义配置缓存从类继承的方法 com.iplatform.base.config.CacheConfiguration
cacheProperties, dictCacheProvider, formCacheProvider, menuCacheProvider
-
构造器详细资料
-
LocalMerchantCacheConfig
public LocalMerchantCacheConfig()
-
-
方法详细资料
-
expressCache
快递公司缓存- 参数:
expressService-- 返回:
-
userRegConfigCache
用户自定义配置缓存- 参数:
userRegConfigService-- 返回:
-
productCache
商品基本信息缓存- 参数:
productService-- 返回:
-
articleCategoryCache
-
levelCache
系统用户等级定义缓存。- 参数:
levelService-- 返回:
-
cityCacheProvider
-
userRegCache
-
merProductCategoryCache
@Bean public MerProductCategoryCache merProductCategoryCache(MerchantProductCategoryServiceImpl merchantProductCategoryService) 商户商品分类缓存。- 参数:
merchantProductCategoryService-- 返回:
-
productAttrCache
商品属性定义缓存,注意:这是个集合缓存,与之前Hash缓存不同。- 参数:
productAttrService-- 返回:
-
merchantCache
-
productBrandCache
-
productCategoryCache
@Bean public ProductCategoryCache productCategoryCache(ProductCategoryServiceImpl productCategoryService, FileOperateSpi fileOperateSpi) -
merCategoryCacheProvider
@Bean public MerCategoryCacheProvider merCategoryCacheProvider(MerchantCategoryServiceImpl merchantCategoryService) 商户分类缓存定义。- 参数:
merchantCategoryService-- 返回:
-
merTypeCacheProvider
-