fix
This commit is contained in:
parent
80a4e40748
commit
9ca89cf975
|
@ -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 {
|
||||||
|
|
|
@ -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"`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user