diff --git a/app/Service/Admin/System/SiteService.php b/app/Service/Admin/System/SiteService.php index 9662192..8982ada 100644 --- a/app/Service/Admin/System/SiteService.php +++ b/app/Service/Admin/System/SiteService.php @@ -228,7 +228,7 @@ class SiteService extends BaseService if (empty($info)) throw new ErrException('数据不存在'); if ($info->id != $nameInfo->id) throw new ErrException('数据已存在'); if ($this->cityId != $info->city_id) throw new ErrException('城市不可更改'); - $this->cityInfo = $this->systemCityModel->getInfoByCityId($info->cityId); + $this->cityInfo = $this->systemCityModel->getInfoByCityId($info->city_id); if ($status != SiteCode::SITE_DISABLE) { $this->checkDriver();