diff --git a/app/common/dao/store/CityAreaDao.php b/app/common/dao/store/CityAreaDao.php index f6bce21c..a9d8067c 100644 --- a/app/common/dao/store/CityAreaDao.php +++ b/app/common/dao/store/CityAreaDao.php @@ -76,8 +76,7 @@ class CityAreaDao extends BaseDao } if (!empty($where['province_code'])) { return GeoCity::getDB()->where('province_code', $where['province_code']); - } - if (empty($where['province_code'])) { + } else { return GeoProvince::getDB(); } return false;