ShopCashOutDict.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | Niucloud-admin 企业快速开发的saas管理平台
  4. // +----------------------------------------------------------------------
  5. // | 官方网址:https://www.niucloud.com
  6. // +----------------------------------------------------------------------
  7. // | niucloud团队 版权所有 开源版本可自由商用
  8. // +----------------------------------------------------------------------
  9. // | Author: Niucloud Team
  10. // +----------------------------------------------------------------------
  11. namespace app\dict\shop;
  12. /**
  13. * 店铺提现
  14. * Class ShopCashOutDict
  15. * @package app\dict\shop
  16. */
  17. class ShopCashOutDict
  18. {
  19. public const WAIT_AUDIT = 1;//待审核
  20. public const WAIT_TRANSFER = 2;//待转账
  21. public const TRANSFER_ING = 4;//转账中
  22. public const TRANSFERED = 3;//已转账
  23. public const REFUSE = -1;//已拒绝
  24. public const CANCEL = -2;//已取消
  25. /**
  26. * 提现状态
  27. * @return array
  28. */
  29. public static function getStatus()
  30. {
  31. return [
  32. self::WAIT_AUDIT => get_lang('dict_site_shop_cash_out.status_wait_audit'),//待审核
  33. self::WAIT_TRANSFER => get_lang('dict_site_shop_cash_out.status_wait_transfer'),//待转账
  34. self::TRANSFER_ING => get_lang('dict_site_shop_cash_out.status_transfer_ing'),//转账中
  35. self::TRANSFERED => get_lang('dict_site_shop_cash_out.status_transfered'),//已转账
  36. self::REFUSE => get_lang('dict_site_shop_cash_out.status_refuse'),//已拒绝
  37. self::CANCEL => get_lang('dict_site_shop_cash_out.status_cancel'),//已取消
  38. ];
  39. }
  40. }