This commit is contained in:
laodaming 2023-11-20 17:33:38 +08:00
parent 80a4e40748
commit 9ca89cf975
2 changed files with 10 additions and 10 deletions

View File

@ -92,11 +92,11 @@ type GetMenuDetailRsp struct {
} }
type GetMenusReq struct { type GetMenusReq struct {
CurrentPage int `form:"current_page"` CurrentPage int `form:"current_page,optional"`
Name string `form:"name"` Name string `form:"name,optional"`
Title string `form:"title"` Title string `form:"title,optional"`
Path string `form:"path"` Path string `form:"path,optional"`
ParentId *int64 `form:"parent_id"` ParentId *int64 `form:"parent_id,optional"`
} }
type GetMenusRsp struct { type GetMenusRsp struct {

View File

@ -178,11 +178,11 @@ type GetMenuDetailRsp {
} }
//获取菜单列表 //获取菜单列表
type GetMenusReq { type GetMenusReq {
CurrentPage int `form:"current_page"` CurrentPage int `form:"current_page,optional"`
Name string `form:"name"` Name string `form:"name,optional"`
Title string `form:"title"` Title string `form:"title,optional"`
Path string `form:"path"` Path string `form:"path,optional"`
ParentId *int64 `form:"parent_id"` ParentId *int64 `form:"parent_id,optional"`
} }
type GetMenusRsp { type GetMenusRsp {
List []MenuItem `json:"list"` List []MenuItem `json:"list"`