diff --git a/.idea/vcs.xml b/.idea/vcs.xml index 35eb1dd..405c683 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -2,5 +2,7 @@ + + \ No newline at end of file diff --git a/app/common/logic/RegionLogic.php b/app/common/logic/RegionLogic.php index 3590b82..8df785a 100644 --- a/app/common/logic/RegionLogic.php +++ b/app/common/logic/RegionLogic.php @@ -90,8 +90,8 @@ class RegionLogic extends Logic public static function getChineseFirstLetter($string) { if (empty($string)) {return '';} - - $firstChineseChar = mb_substr($string, 0, 1, 'UTF-8'); + $firstChineseChar = $string; +// $firstChineseChar = mb_substr($string, 0, 1, 'UTF-8'); if(cache($firstChineseChar)){ return cache($firstChineseChar); }