新增本地获取任务列表,对接任务列表加入存储数据库功能
This commit is contained in:
@ -2,8 +2,6 @@ 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:"(PC)任务排行榜"`
|
||||
StoreId int `json:"storeId" v:"required#请选择店铺" dc:"门店id"`
|
||||
@ -48,3 +46,16 @@ type GetLoginTaskListReq struct {
|
||||
type GetLoginTaskListRes struct {
|
||||
Data interface{} `json:"data"`
|
||||
}
|
||||
|
||||
type ListReq struct {
|
||||
g.Meta `path:"/task/list" method:"get" tags:"Task" summary:"(PC)任务列表"`
|
||||
StoreId int `json:"storeId" v:"required#门店 id不能为空" dc:"门店 id"`
|
||||
Gid int `json:"gid" v:"required#游戏唯一id不能为空" dc:"游戏唯一id"`
|
||||
Page int `json:"page" dc:"页数"`
|
||||
Size int `json:"size" dc:"条数"`
|
||||
}
|
||||
|
||||
type ListRes struct {
|
||||
List interface{} `json:"list"`
|
||||
Total int `json:"total"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user