调整数据库表的单复数
This commit is contained in:
@@ -130,9 +130,9 @@ class City extends Controller
|
||||
]);
|
||||
}
|
||||
|
||||
public function children(int $parentId)
|
||||
public function children(string $parentCode)
|
||||
{
|
||||
$children = $this->cityService->getChildren($parentId);
|
||||
$children = $this->cityService->getChildren($parentCode);
|
||||
return response()->json([
|
||||
'code' => 200,
|
||||
'message' => 'success',
|
||||
|
||||
Reference in New Issue
Block a user