...
|
...
|
@@ -2508,7 +2508,7 @@ class CommonController extends RestBaseController |
|
|
$s1 = iconv('UTF-8', 'gb2312', $str);
|
|
|
$s2 = iconv('gb2312', 'UTF-8', $s1);
|
|
|
$s = $s2 == $str ? $s1 : $str;
|
|
|
$asc = ord($s{0}) * 256 + ord($s{1}) - 65536;
|
|
|
$asc = @ord($s{0}) * 256 + @ord($s{1}) - 65536;
|
|
|
if ($asc >= -20319 && $asc <= -20284) return 'A';
|
|
|
if ($asc >= -20283 && $asc <= -19776) return 'B';
|
|
|
if ($asc >= -19775 && $asc <= -19219) return 'C';
|
...
|
...
|
@@ -2532,7 +2532,7 @@ class CommonController extends RestBaseController |
|
|
if ($asc >= -12556 && $asc <= -11848) return 'X';
|
|
|
if ($asc >= -11847 && $asc <= -11056) return 'Y';
|
|
|
if ($asc >= -11055 && $asc <= -10247) return 'Z';
|
|
|
return null;
|
|
|
return '#';
|
|
|
}
|
|
|
|
|
|
//记录拍照人员(添加或编辑)0:日检,1:月检,2:年检,3:维修,4:改造,5:培训,6:演习
|
...
|
...
|
|