app.php 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Encryption Key
  6. |--------------------------------------------------------------------------
  7. |
  8. | This key is used by the Illuminate encrypter service and should be set
  9. | to a random, 32 character string, otherwise these encrypted strings
  10. | will not be safe. Please do this before deploying an application!
  11. |
  12. */
  13. 'key' => env('APP_KEY', 'SomeRandomString!!!'),
  14. 'cipher' => 'AES-256-CBC',
  15. /*
  16. |--------------------------------------------------------------------------
  17. | Application Locale Configuration
  18. |--------------------------------------------------------------------------
  19. |
  20. | The application locale determines the default locale that will be used
  21. | by the translation service provider. You are free to set this value
  22. | to any of the locales which will be supported by the application.
  23. |
  24. */
  25. 'locale' => env('APP_LOCALE', 'zh-cn'),
  26. 'log' => 'daily',
  27. /*
  28. |--------------------------------------------------------------------------
  29. | Application Fallback Locale
  30. |--------------------------------------------------------------------------
  31. |
  32. | The fallback locale determines the locale to use when the current one
  33. | is not available. You may change the value to correspond to any of
  34. | the language folders that are provided through your application.
  35. |
  36. */
  37. 'fallback_locale' => env('APP_FALLBACK_LOCALE', 'en'),
  38. /**
  39. * 默认分页行数
  40. */
  41. 'app_rows' => env('APP_ROWS', 10),
  42. /**
  43. * token缓存时间
  44. */
  45. 'token_time' => env('APP_TOKEN_TIME', 20 * 60),
  46. // 运行模式, 0-开发模式,1-正式模式
  47. 'app_mode' => env('APP_MODE', 1),
  48. 'attachment_host' => env('ATTACHMENT_HOST', 'https://api.matchexpo.com'),
  49. //开启单点登录
  50. 'login_singleton' => env('SINGLE_LOGIN', false),
  51. 'js_version' => env('JS_VERSION', '0.01'),
  52. // 短地址地址
  53. 'domain' => env('DOMAIN', 'http://s.juye.cn'),
  54. ];