app.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. /*
  3. * This file is part of ibrand/EC-Open-Core.
  4. *
  5. * (c) GuoJiangClub <https://www.ibrand.cc>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. return [
  11. 'database' => [
  12. 'prefix' => 'ibrand_'
  13. ],
  14. /*
  15. |--------------------------------------------------------------------------
  16. | Access via `https`
  17. |--------------------------------------------------------------------------
  18. |
  19. |If your page is going to be accessed via https, set it to `true`.
  20. |
  21. */
  22. 'secure' => env('SECURE', false),
  23. 'pay_debug' => env('PAY_DEBUG', false),
  24. /*
  25. |--------------------------------------------------------------------------
  26. | 积分系统相关设置
  27. |--------------------------------------------------------------------------
  28. *
  29. * enable : 是否启用积分系统
  30. * order_proportion: 积分兑换金额比例(单位:分):举例:值为10:表示1个积分值10分钱。因为订单系统所有金额单位都是分
  31. * order_limit:订单使用积分所占订单金额上线,单位:百分比。值为50:表示最多使用积分抵扣的金额最多占整个订单金额的50%
  32. */
  33. 'point' => [
  34. 'enable' => true,
  35. 'order_proportion' => 10,
  36. 'order_limit' => 50
  37. ],
  38. /*
  39. |--------------------------------------------------------------------------
  40. | 订单未付款自动取消时间,单位分钟
  41. |--------------------------------------------------------------------------
  42. */
  43. 'order_auto_cancel' => 30
  44. ];