ApplyStatus.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?php
  2. namespace app\common\enum\dealer\withdraw;
  3. use app\common\enum\EnumBasics;
  4. /**
  5. * 枚举类:分销商提现审核状态
  6. * Class ApplyStatus
  7. * @package app\common\enum\dealer\withdraw
  8. */
  9. class ApplyStatus extends EnumBasics
  10. {
  11. // 待审核
  12. const AUDIT_WAIT = 10;
  13. // 审核通过
  14. const AUDIT_PASS = 20;
  15. // 驳回
  16. const AUDIT_REJECT = 30;
  17. // 已打款
  18. const AUDIT_PAID = 40;
  19. /**
  20. * 获取枚举类型值
  21. * @return array
  22. */
  23. public static function data()
  24. {
  25. return [
  26. self::AUDIT_WAIT => [
  27. 'name' => '待审核',
  28. 'value' => self::AUDIT_WAIT,
  29. ],
  30. self::AUDIT_PASS => [
  31. 'name' => '审核通过',
  32. 'value' => self::AUDIT_PASS,
  33. ],
  34. self::AUDIT_REJECT => [
  35. 'name' => '驳回',
  36. 'value' => self::AUDIT_REJECT,
  37. ],
  38. self::AUDIT_PAID => [
  39. 'name' => '已打款',
  40. 'value' => self::AUDIT_PAID,
  41. ],
  42. ];
  43. }
  44. }