FansFollowEnum.php 465 B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace addons\Wechat\common\enums;
  3. use common\enums\BaseEnum;
  4. /**
  5. * Class FansFollowEnum
  6. * @package addons\Wechat\common\enums
  7. * @author jianyan74 <751393839@qq.com>
  8. */
  9. class FansFollowEnum extends BaseEnum
  10. {
  11. const ON = 1;
  12. const OFF = -1;
  13. /**
  14. * @return string[]
  15. */
  16. public static function getMap(): array
  17. {
  18. return [
  19. self::ON => '已关注',
  20. self::OFF => '未关注',
  21. ];
  22. }
  23. }
粤ICP备19079148号