-
Notifications
You must be signed in to change notification settings - Fork 14
/
note_tag.go
40 lines (33 loc) · 1017 Bytes
/
note_tag.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package v1
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/iimeta/iim-client/internal/model"
)
// 笔记标签列表接口请求参数
type TagListReq struct {
g.Meta `path:"/tag/list" tags:"note_tag" method:"get" summary:"笔记标签列表接口"`
}
// 笔记标签列表接口响应参数
type TagListRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.TagListRes
}
// 笔记标签编辑接口请求参数
type TagEditReq struct {
g.Meta `path:"/tag/editor" tags:"note_tag" method:"post" summary:"笔记标签编辑接口"`
model.TagEditReq
}
// 笔记标签编辑接口请求参数
type TagEditRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.TagEditRes
}
// 笔记标签删除接口请求参数
type TagDeleteReq struct {
g.Meta `path:"/tag/delete" tags:"note_tag" method:"post" summary:"笔记标签删除接口"`
model.TagDeleteReq
}
// 笔记标签删除接口响应参数
type TagDeleteRes struct {
g.Meta `mime:"application/json" example:"json"`
}