diff --git a/app/admin/hdl/enterprise_manage/hdl_central_kitchen_for_school.go b/app/admin/hdl/enterprise_manage/hdl_central_kitchen_for_school.go index 2f8d38f..b472862 100644 --- a/app/admin/hdl/enterprise_manage/hdl_central_kitchen_for_school.go +++ b/app/admin/hdl/enterprise_manage/hdl_central_kitchen_for_school.go @@ -1029,7 +1029,7 @@ func CentralKitchenForSchoolReserveDetail(c *gin.Context) { return } var resp []map[string]interface{} - var ishas map[int]bool + var ishas = map[int]bool{} for _, v := range m { if ishas[v.CentralKitchenForSchoolUserWithDay.Id] { continue