1
This commit is contained in:
@@ -142,6 +142,10 @@ class UsedCarService
|
|||||||
|
|
||||||
if ($asc >= 65 && $asc <= 90) return $char;
|
if ($asc >= 65 && $asc <= 90) return $char;
|
||||||
|
|
||||||
|
// 转码失败或长度不足
|
||||||
|
if ($s === false || strlen($s) < 2) {
|
||||||
|
return '';
|
||||||
|
}
|
||||||
$code = ord($s[0]) * 256 + ord($s[1]) - 65536;
|
$code = ord($s[0]) * 256 + ord($s[1]) - 65536;
|
||||||
|
|
||||||
$map = [
|
$map = [
|
||||||
|
|||||||
Reference in New Issue
Block a user