diff --git a/internal/app/dto/plan_dto.go b/internal/app/dto/plan_dto.go index 5419a14..51b82f1 100644 --- a/internal/app/dto/plan_dto.go +++ b/internal/app/dto/plan_dto.go @@ -7,7 +7,7 @@ import ( // ListPlansQuery 定义了获取计划列表时的查询参数 type ListPlansQuery struct { - PlanType repository.PlanTypeFilter `json:"plan_type" query:"planType"` // 计划类型 + PlanType repository.PlanTypeFilter `json:"plan_type" query:"plan_type"` // 计划类型 Page int `json:"page" query:"page"` // 页码 PageSize int `json:"page_size" query:"page_size"` // 每页大小 }