更新用户地址

This commit is contained in:
yaooo 2023-08-23 13:20:59 +08:00
parent c4c85357b1
commit b7c76e59f3

View File

@ -76,8 +76,7 @@ class CityAreaDao extends BaseDao
} }
if (!empty($where['province_code'])) { if (!empty($where['province_code'])) {
return GeoCity::getDB()->where('province_code', $where['province_code']); return GeoCity::getDB()->where('province_code', $where['province_code']);
} } else {
if (empty($where['province_code'])) {
return GeoProvince::getDB(); return GeoProvince::getDB();
} }
return false; return false;