WechatVideoShopGoodsStatusEnums.php 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. namespace addons\WechatVideoShop\common\enums;
  3. class WechatVideoShopGoodsStatusEnums
  4. {
  5. const EDIT_STATUS_NORMAL = 0;
  6. const EDIT_STATUS_EDIT = 1;
  7. const EDIT_STATUS_AUDIT_PROCESSING = 2;
  8. const EDIT_STATUS_AUDIT_FAIL = 3;
  9. const EDIT_STATUS_AUDIT_SUCCESS = 4;
  10. const EDIT_STATUS_ASYNC_SUBMIT_PROCESSING = 7;
  11. const EDIT_STATUS_ASYNC_SUBMIT_FAIL = 8;
  12. const EDIT_STATUS_REMARKS = [
  13. // self::EDIT_STATUS_NORMAL => '初始值',
  14. self::EDIT_STATUS_EDIT => '编辑中',
  15. self::EDIT_STATUS_AUDIT_PROCESSING => '审核中',
  16. self::EDIT_STATUS_AUDIT_FAIL => '审核失败',
  17. self::EDIT_STATUS_AUDIT_SUCCESS => '审核成功',
  18. self::EDIT_STATUS_ASYNC_SUBMIT_PROCESSING => '商品异步提交,上传中',
  19. self::EDIT_STATUS_ASYNC_SUBMIT_FAIL => '商品异步提交,上传失败(请重新提交)',
  20. ];
  21. const STATUS_NORMAL = 0;
  22. const STATUS_SALE = 5;
  23. const STATUS_RECYCLE = 6;
  24. const STATUS_SELF_DOWN = 11;
  25. const STATUS_VIOLATION_DOWN = 13;
  26. const STATUS_INSUFFICIENT_MARGIN_DOWN = 14;
  27. const STATUS_BRAND_EXPIRED_DOWN = 15;
  28. const STATUS_GOODS_DISABLED_DOWN = 20;
  29. const STATUS_REMARKS = [
  30. // self::STATUS_NORMAL => '初始值',
  31. self::STATUS_SALE => '上架',
  32. self::STATUS_RECYCLE => '回收站',
  33. self::STATUS_SELF_DOWN => '自主下架',
  34. self::STATUS_VIOLATION_DOWN => '违规下架/风控系统下架',
  35. self::STATUS_INSUFFICIENT_MARGIN_DOWN => '保证金不足下架',
  36. self::STATUS_BRAND_EXPIRED_DOWN => '品牌过期下架',
  37. self::STATUS_GOODS_DISABLED_DOWN => '商品被封禁',
  38. ];
  39. }