CommonDict.php 597 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace app\dict\common;
  3. /**
  4. * admin管理菜单
  5. * Class CommonDict
  6. * @package app\dict\common
  7. */
  8. class CommonDict
  9. {
  10. public const UNKNOWN = 0;
  11. public const MAN = 1;
  12. public const WOMAN = 2;
  13. public const ENCRYPT_STR = '*****************************';
  14. /**
  15. * 性别
  16. * @return array
  17. */
  18. public static function getSexType()
  19. {
  20. return [
  21. self::UNKNOWN => get_lang('dict_sex.unknown'),//未知
  22. self::MAN => get_lang('dict_sex.man'),//男
  23. self::WOMAN => get_lang('dict_sex.woman'),//女
  24. ];
  25. }
  26. }