From d387cc493ead5265ba2b08e079fa8e0f9e99c572 Mon Sep 17 00:00:00 2001 From: lan Date: Thu, 19 Mar 2026 00:31:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=AF=BE=E7=A8=8B?= =?UTF-8?q?=E8=A1=A8DayOfWeek=E5=AD=97=E6=AE=B5omitzero=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E5=91=A8=E4=B8=80=E6=95=B0=E6=8D=AE=E8=A2=AB=E7=9C=81=E7=95=A5?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/dto/schedule_dto.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/dto/schedule_dto.go b/internal/dto/schedule_dto.go index d51da31..3bef9e6 100644 --- a/internal/dto/schedule_dto.go +++ b/internal/dto/schedule_dto.go @@ -5,7 +5,7 @@ type ScheduleCourseResponse struct { Name string `json:"name"` Teacher string `json:"teacher,omitempty"` Location string `json:"location,omitempty"` - DayOfWeek int `json:"day_of_week,omitzero"` + DayOfWeek int `json:"day_of_week"` StartSection int `json:"start_section,omitzero"` EndSection int `json:"end_section,omitzero"` Weeks []int `json:"weeks"`