rabin 3 năm trước cách đây
mục cha
commit
5632df3754
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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);