OrderConstrant.php 717 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * This file is part of Hyperf.
  5. *
  6. * @link https://www.hyperf.io
  7. * @document https://doc.hyperf.io
  8. * @contact group@hyperf.io
  9. * @license https://github.com/hyperf-cloud/hyperf/blob/master/LICENSE
  10. */
  11. namespace App\Constants;
  12. class OrderConstrant
  13. {
  14. const ALIPAY = 1;
  15. const WEACHAT = 2;
  16. const UNION = 3;
  17. const BALANCE = 4;
  18. const VIRTUAL = 5;
  19. const WHITE_SHARK = 'white_shark';
  20. public static $messages = [
  21. self::ALIPAY => '支付宝',
  22. self::WEACHAT => '微信',
  23. self::UNION => '银联',
  24. self::BALANCE => '金币',
  25. self::VIRTUAL => '虚拟币',
  26. self::WHITE_SHARK => '大白鲨',
  27. ];
  28. }