完成游戏人生账号绑定、解绑、绑定信息的接口开发
This commit is contained in:
15
api/task/task.go
Normal file
15
api/task/task.go
Normal file
@ -0,0 +1,15 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package task
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"server/api/task/v1"
|
||||
)
|
||||
|
||||
type ITaskV1 interface {
|
||||
Ranking(ctx context.Context, req *v1.RankingReq) (res *v1.RankingRes, err error)
|
||||
}
|
||||
@ -2,14 +2,17 @@ package v1
|
||||
|
||||
import "github.com/gogf/gf/v2/frame/g"
|
||||
|
||||
type TaskListReq struct {
|
||||
}
|
||||
type TaskRankingReq 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 TaskRankingRes struct {
|
||||
type RankingRes struct {
|
||||
}
|
||||
|
||||
type ListReq struct {
|
||||
}
|
||||
type ListRes struct {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user