rabin 3 년 전
부모
커밋
5632df3754
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/Api.php

+ 3 - 0
src/Api.php

@@ -251,6 +251,9 @@ class Api
 
         if (isset($temp[2]) && $temp[2] && $county) {
             $data = array();
+            if (strstr($temp[2], '000000')) {
+                $temp[2] = str_replace('000000', '', $temp[2]);
+            }
             $data['id'] = $temp[2];
             $data['clear'] = true;
             $county_info = Dever::db('area/county')->one($data);