admin.php 1.1 KB

123456789101112131415161718192021222324252627
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2016~2020 https://www.crmeb.com All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  8. // +----------------------------------------------------------------------
  9. // | Author: CRMEB Team <admin@crmeb.com>
  10. // +----------------------------------------------------------------------
  11. return [
  12. //token 有效期
  13. 'token_exp' => 6, //6小时
  14. //token超时多久可自动续期(后台)
  15. 'token_valid_exp' => 30, //30分钟
  16. //token超时多久可自动续期(用户)
  17. 'user_token_valid_exp' => 60 * 24 * 7, //7天
  18. //登录验证码有效期
  19. 'captcha_exp' => 30, //30分钟
  20. 'admin_prefix' => 'admin',
  21. 'merchant_prefix' => 'merchant',
  22. 'api_admin_prefix' => 'sys',
  23. 'api_merchant_prefix' => 'mer'
  24. ];