19 lines
518 B
Go
19 lines
518 B
Go
package v1
|
|
|
|
import "github.com/gogf/gf/v2/frame/g"
|
|
|
|
type ListReq struct {
|
|
}
|
|
type RankingReq struct {
|
|
g.Meta `path:"/task/ranking" method:"get" tags:"Task" summary:"任务排行榜"`
|
|
StoreId int `json:"storeId" v:"required#请选择店铺" dc:"门店id"`
|
|
Page int `json:"page" dc:"页数"`
|
|
Size int `json:"size" dc:"条数"`
|
|
Type int `json:"type" v:"required#请选择排行榜类型" dc:"排行榜类型"`
|
|
}
|
|
|
|
type RankingRes struct {
|
|
List interface{} `json:"list"`
|
|
Total int `json:"total"`
|
|
}
|