@@ -97,6 +97,10 @@ class Info
$where = 'type = '.$type.' and status = 1 and state = 1';
+ $county = Dever::db('area/county')->find($city);
+ if ($county) {
+ $city = $county['id'];
+ }
if ($type == 1 && $city) {
$where .= ' and city = ' . $city;
}