修复bug

This commit is contained in:
2025-10-31 18:14:12 +08:00
parent 0c88c76417
commit 193d77b5b7
7 changed files with 792 additions and 792 deletions

View File

@@ -7,9 +7,9 @@ import (
// ListPlansQuery 定义了获取计划列表时的查询参数
type ListPlansQuery struct {
PlanType repository.PlanTypeFilter `query:"planType"` // 计划类型
Page int `query:"page"` // 页码
PageSize int `query:"pageSize"` // 每页大小
PlanType repository.PlanTypeFilter `json:"plan_type" query:"planType"` // 计划类型
Page int `json:"page" query:"page"` // 页码
PageSize int `json:"page_size" query:"page_size"` // 每页大小
}
// CreatePlanRequest 定义创建计划请求的结构体