查询当前登录用户排名,
This commit is contained in:
@ -2,17 +2,17 @@ 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 {
|
||||
}
|
||||
|
||||
type ListReq struct {
|
||||
}
|
||||
type ListRes struct {
|
||||
List interface{} `json:"list"`
|
||||
Total int `json:"total"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user