新增医生账户模型,修改省市区接口返回结构

This commit is contained in:
2023-02-22 15:14:05 +08:00
parent 5fe99b1c24
commit 5132a57752
7 changed files with 161 additions and 4 deletions
+4 -2
View File
@@ -113,7 +113,8 @@ class AreaService extends BaseService
public function getCity(): array
{
$area_id = $this->request->input('area_id');
return $this->getAreaByParentId($area_id);
$city = $this->getAreaByParentId($area_id);
return success($city);
}
/**
@@ -123,7 +124,8 @@ class AreaService extends BaseService
public function getCounty(): array
{
$area_id = $this->request->input('area_id');
return $this->getAreaByParentId($area_id);
$county = $this->getAreaByParentId($area_id);
return success($county);
}
/**