feat : kitchen

This commit is contained in:
2024-11-08 16:27:25 +08:00
parent 79782dbb4e
commit c491fb79d8
15 changed files with 727 additions and 25 deletions

View File

@@ -58,4 +58,13 @@ class SystemCity extends Model
{
return $this->where('id', $id)->where('is_del',CityCode::IS_NOT_DELETE)->first();
}
/**
* @param $ids
* @return array
*/
public function getCityNameByIds($ids): array
{
return $this->whereIn('id',$ids)->pluck('title','id')->toArray();
}
}