类 RedisMerchantCacheConfig

java.lang.Object
com.iplatform.core.PlatformConfiguration
com.iplatform.base.config.CacheConfiguration
com.ishop.merchant.config.RedisMerchantCacheConfig

@Configuration @ConditionalOnProperty(prefix="iplatform.cache", name="redis-enabled", havingValue="true", matchIfMissing=false) @ConditionalOnClass(com.walker.support.redis.cache.RedisCacheProvider.class) @AutoConfigureAfter(org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration.class) public class RedisMerchantCacheConfig extends CacheConfiguration
  • 构造器详细资料

    • RedisMerchantCacheConfig

      public RedisMerchantCacheConfig()
  • 方法详细资料

    • expressCache

      @Bean public ExpressCache expressCache(com.walker.support.redis.RedisHelper redisHelper, ExpressServiceImpl expressService)
      快递公司缓存配置
      参数:
      redisHelper -
      expressService -
      返回:
    • userRegConfigCache

      @Bean public UserRegConfigCache userRegConfigCache(com.walker.support.redis.RedisHelper redisHelper, UserRegConfigServiceImpl userRegConfigService)
      用户自定义配置缓存
      参数:
      redisHelper -
      userRegConfigService -
      返回:
    • productCache

      @Bean public ProductCache productCache(com.walker.support.redis.RedisHelper redisHelper, ProductServiceImpl productService)
      商品基本信息缓存配置
      参数:
      redisHelper -
      productService -
      返回:
    • articleCategoryCache

      @Bean public ArticleCategoryCache articleCategoryCache(com.walker.support.redis.RedisHelper redisHelper, ArticleServiceImpl articleService)
    • levelCache

      @Bean public LevelCache levelCache(com.walker.support.redis.RedisHelper redisHelper, LevelServiceImpl levelService)
      系统用户等级定义缓存。
      参数:
      levelService -
      返回:
    • cityCacheProvider

      @Bean public CityCacheProvider cityCacheProvider(com.walker.support.redis.RedisHelper redisHelper, CityServiceImpl cityService)
      城市区域缓存配置。
      参数:
      redisHelper -
      cityService -
      返回:
    • userRegCache

      @Bean public UserRegCache userRegCache(com.walker.support.redis.RedisHelper redisHelper, UserRegisterServiceImpl userRegisterService)
      前端注册用户缓存定义。
      参数:
      redisHelper -
      userRegisterService -
      返回:
    • merProductCategoryCache

      @Bean public MerProductCategoryCache merProductCategoryCache(com.walker.support.redis.RedisHelper redisHelper, MerchantProductCategoryServiceImpl merchantProductCategoryService)
      商户商品分类缓存。
      参数:
      redisHelper -
      merchantProductCategoryService -
      返回:
    • productAttrCache

      @Bean public ProductAttrCache productAttrCache(com.walker.support.redis.RedisHelper redisHelper, ProductAttrServiceImpl productAttrService)
      商品属性定义缓存,注意:这是个集合缓存,与之前Hash缓存不同。
      参数:
      productAttrService -
      返回:
    • merchantCache

      @Bean public MerchantCache merchantCache(com.walker.support.redis.RedisHelper redisHelper, MerchantServiceImpl merchantService)
    • productBrandCache

      @Bean public ProductBrandCache productBrandCache(com.walker.support.redis.RedisHelper redisHelper, ProductBrandServiceImpl productBrandService)
    • productCategoryCache

      @Bean public ProductCategoryCache productCategoryCache(com.walker.support.redis.RedisHelper redisHelper, ProductCategoryServiceImpl productCategoryService, FileOperateSpi fileOperateSpi)
    • merCategoryCacheProvider

      @Bean public MerCategoryCacheProvider merCategoryCacheProvider(com.walker.support.redis.RedisHelper redisHelper, MerchantCategoryServiceImpl merchantCategoryService)
    • merTypeCacheProvider

      @Bean public MerTypeCacheProvider merTypeCacheProvider(com.walker.support.redis.RedisHelper redisHelper, MerchantTypeServiceImpl merchantTypeService)