config.php 587 B

123456789101112131415161718192021
  1. <?php
  2. use think\Env;
  3. use think\Config;
  4. //配置文件
  5. return [
  6. 'url_common_param' => true,
  7. 'url_html_suffix' => '',
  8. 'controller_auto_search' => true,
  9. 'session' => [
  10. 'auto_start' => true,
  11. 'domain' => Env::get('app.domain'),
  12. 'prefix' => Env::get('session.prefix'),
  13. 'type' => Env::get('session.type'),
  14. 'host' => Env::get('session.host'),
  15. 'port' => Env::get('session.port'),
  16. 'password' => Env::get('session.password')
  17. ],
  18. 'ab_platform_id' => Env::get("abwechat.platform_id", 0),
  19. ];