create delete district route and update district setting with postcode

This commit is contained in:
JiaSheng
2023-07-12 19:55:08 +08:00
parent 4e21cd9d21
commit dec7612b29
10 changed files with 288 additions and 28 deletions
+1
View File
@@ -17,6 +17,7 @@ class DistrictResource extends JsonResource
return [
'id' => $this->id,
'city' => $this->name,
'postcodes' => json_decode($this->postcode),
'state' => $this->state,
'country' => $this->country
];