diff --git a/application/api/controller/Index.php b/application/api/controller/Index.php index 8545a8f..8e5fee0 100644 --- a/application/api/controller/Index.php +++ b/application/api/controller/Index.php @@ -243,7 +243,6 @@ class Index extends Api $num = '001'; } else { if (strstr($arr[3], '00') && $arr[3] < 100) { - echo '1'; $str = substr($arr[3], 2); if ($str == 9) { $num = '0' . '10'; @@ -255,8 +254,10 @@ class Index extends Api if (strstr($arr[3], '0')) { $str = substr($arr[3], 1); if ($str == 99) { + echo '1'; $num = '100'; } else { + echo '2'; $str2 = $str + 1; $num = '0' . $str2; }