feat : city

This commit is contained in:
2024-10-31 16:52:32 +08:00
parent ceeeea7c34
commit 2d8f35ddf0
5 changed files with 100 additions and 3 deletions

View File

@@ -33,9 +33,9 @@ class CityCache
public function getCityList(int $deep = -1): array
{
$type = match ($deep) {
1 => 'province',
2 => 'city',
3 => 'district',
0 => 'province',
1 => 'city',
2 => 'district',
default => 'all',
};