GoodsLabelEnum.php 326 B

12345678910111213141516171819
  1. <?php
  2. namespace app\common\Enum;
  3. class GoodsLabelEnum
  4. {
  5. // 样式类型
  6. const STYLE_DIY = 'diy';
  7. const STYLE_ICON = 'icon';
  8. public static function getMap()
  9. {
  10. return [
  11. self::STYLE_DIY => '自定义',
  12. self::STYLE_ICON => '图片',
  13. ];
  14. }
  15. // 其它常量...
  16. }