You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
481 B

  1. <?php
  2. namespace App\Constants\v3;
  3. use Hyperf\Constants\AbstractConstants;
  4. use Hyperf\Constants\Annotation\Constants;
  5. /**
  6. * @Constants
  7. */
  8. class Goods extends AbstractConstants
  9. {
  10. /**
  11. * @Message("售卖中")
  12. */
  13. const ON_SALE_YES = 1;
  14. /**
  15. * @Message("已下架")
  16. */
  17. const ON_SALE_NO = 0;
  18. /**
  19. * @Message("无限库存")
  20. */
  21. const IS_INVENTORY = 1;
  22. /**
  23. * @Message("活动商品")
  24. */
  25. const IS_ACTIVITY = 2;
  26. }