Fecadmin.php 1.1 KB

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * FecShop file.
  4. *
  5. * @link http://www.fecshop.com/
  6. * @copyright Copyright (c) 2016 FecShop Software LLC
  7. * @license http://www.fecshop.com/license/
  8. */
  9. return [
  10. 'fecadmin' => [
  11. 'params' => [
  12. /**
  13. * Fecshop缓存是基于redis,下面是各个入口redis配置所在的文件路径
  14. * 1.`commonConfig`是公用部分
  15. * 2.app开头的key,指的是各个入口的redis所在的配置文件
  16. * 这个配置的作用,是为了在后台清空各个入口的全部缓存,因此需要加载相应的redis的配置
  17. */
  18. 'cacheRedisConfigFile' => [
  19. 'commonConfig' => '@common/config/main-local.php',
  20. 'appAdmin' => '@appadmin/config/main.php',
  21. 'appApi' => '@appapi/config/main.php',
  22. 'appFront' => '@appfront/config/main.php',
  23. 'appHtml5' => '@apphtml5/config/main.php',
  24. 'appServer' => '@appserver/config/main.php',
  25. ],
  26. ],
  27. ],
  28. ];