From b7c76e59f3f86e5375fbcfa2fd176f73a08d19b1 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Wed, 23 Aug 2023 13:20:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=94=A8=E6=88=B7=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/dao/store/CityAreaDao.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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;