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);