新增医生账户模型,修改省市区接口返回结构
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user