|
|
|
@ -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); |
|
|
|
} |
|
|
|
|