CommonParams.php 577 B

1234567891011121314151617181920212223242526
  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. }