PersonalMain-Golang/api/request/linkApi.go

18 lines
507 B
Go
Raw Normal View History

2023-12-27 01:48:24 +08:00
package request
import "github.com/gogf/gf/v2/frame/g"
type GetLinkFriendReq struct {
g.Meta `path:"/list" tags:"获取友链" method:"get" summary:"获取友链"`
}
type AddLinkFriendReq struct {
g.Meta `path:"/add" tags:"添加友链" method:"post" summary:"添加友链"`
}
type GetSortAndLinkReq struct {
g.Meta `path:"/sort" tags:"获取分类和友链" method:"get" summary:"获取分类和友链"`
}
type GetLinkFriendRes struct{}
type AddLinkFriendRes struct{}
type GetSortAndLinkRes struct{}