CommonParams.php 714 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace Modules\Common\Repository\Options;
  3. use Catch\Enums\Status as StatusEnum;
  4. class CommonParams implements OptionInterface
  5. {
  6. public function get(): array
  7. {
  8. /**
  9. * @see modules/Common/config/common.php
  10. */
  11. $commonConfig = config('common.common');
  12. return [
  13. /**
  14. * 支付类型
  15. */
  16. 'payType' => $commonConfig['payType'],
  17. /**
  18. * 小程序类型
  19. */
  20. 'miniprogramType' => $commonConfig['miniprogramType'],
  21. /**
  22. * 首页列表类型
  23. */
  24. 'firstPageListType' => $commonConfig['firstPageListType'],
  25. ];
  26. }
  27. }