修改查询已完成任务列表

This commit is contained in:
chy
2025-07-05 15:27:26 +08:00
parent c34ef7da90
commit 69f46821e7
4 changed files with 22 additions and 11 deletions

View File

@ -1,6 +1,9 @@
package v1
import "github.com/gogf/gf/v2/frame/g"
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
type RankingReq struct {
g.Meta `path:"/task/ranking" method:"get" tags:"PC/Task" summary:"(PC)任务排行榜"`
@ -52,10 +55,12 @@ type GetLoginTaskListRes struct {
}
type ListReq struct {
g.Meta `path:"/task/completed/list" method:"get" tags:"Backend/Task" summary:"(商户、门店)用户任务已完成列表"`
StoreId int `json:"storeId" dc:"门店 id"`
Page int `json:"page" dc:"页数"`
Size int `json:"size" dc:"条数"`
g.Meta `path:"/task/completed/list" method:"get" tags:"Backend/Task" summary:"(商户、门店)用户任务已完成列表"`
StoreId int `json:"storeId" dc:"门店 id"`
Page int `json:"page" dc:"页数"`
Size int `json:"size" dc:"条数"`
StartTime *gtime.Time `json:"startTime" dc:"开始时间"`
EndTime *gtime.Time `json:"endTime" dc:"结束时间"`
}
type ListRes struct {