PayStatusEnum.php 483 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. namespace common\enums;
  3. /**
  4. * 支付状态
  5. *
  6. * Class PayStatusEnum
  7. * @package common\enums
  8. * @author jianyan74 <751393839@qq.com>
  9. */
  10. class PayStatusEnum extends BaseEnum
  11. {
  12. const NO = 0;
  13. const MIDWAY = 1;
  14. const YES = 2;
  15. /**
  16. * @return array
  17. */
  18. public static function getMap(): array
  19. {
  20. return [
  21. self::NO => '待支付',
  22. self::MIDWAY => '支付中',
  23. self::YES => '已支付',
  24. ];
  25. }
  26. }
粤ICP备19079148号