@@ -18,11 +18,11 @@ type AddRequest {
1818 Component string `json:"component"`
1919 Icon string `json:"icon"`
2020 IconType string `json:"iconType"`
21- ParentId uint64 `json:"parentId"`
21+ ParentId int64 `json:"parentId"`
2222 Status string `json:"status"`
2323 KeepAlive bool `json:"keepAlive"`
2424 Constant bool `json:"constant"`
25- Order uint64 `json:"order"`
25+ Order int64 `json:"order"`
2626 HideInMenu bool `json:"hideInMenu"`
2727 Href string `json:"href,optional"`
2828 MultiTab bool `json:"multiTab,optional"`
@@ -55,7 +55,7 @@ type ListRequest {
5555}
5656
5757type SystemMenu {
58- Id uint64 `json:"id"`
58+ Id int64 `json:"id"`
5959 ActiveMenu string `json:"activeMenu,optional"`
6060 MenuType string `json:"menuType"`
6161 MenuName string `json:"menuName"`
@@ -64,11 +64,11 @@ type SystemMenu {
6464 Component string `json:"component"`
6565 Icon string `json:"icon"`
6666 IconType string `json:"iconType"`
67- ParentId uint64 `json:"parentId"`
67+ ParentId int64 `json:"parentId"`
6868 Status string `json:"status"`
6969 KeepAlive bool `json:"keepAlive"`
7070 Constant bool `json:"constant"`
71- Order uint64 `json:"order"`
71+ Order int64 `json:"order"`
7272 HideInMenu bool `json:"hideInMenu"`
7373 Href string `json:"href,optional"`
7474 MultiTab bool `json:"multiTab,optional"`
@@ -88,25 +88,25 @@ type ListResponse {
8888type TreeRequest {}
8989
9090type TreeResponse {
91- Id uint64 `json:"id"`
91+ Id int64 `json:"id"`
9292 Label string `json:"label"`
93- PId uint64 `json:"pId"`
94- Order uint64 `json:"-"`
93+ PId int64 `json:"pId"`
94+ Order int64 `json:"-"`
9595 Children []TreeResponse `json:"children"`
9696}
9797
9898type GetAllPagesRequest {
99- RoleId uint64 `form:"roleId,optional"`
99+ RoleId int64 `form:"roleId,optional"`
100100}
101101
102102type DeleteRequest {
103- Ids []uint64 `json:"ids"`
103+ Ids []int64 `json:"ids"`
104104}
105105
106106type DeleteResponse {}
107107
108108type EditRequest {
109- Id uint64 `json:"id"`
109+ Id int64 `json:"id"`
110110 ActiveMenu string `json:"activeMenu,optional"`
111111 MenuType string `json:"menuType"`
112112 MenuName string `json:"menuName"`
@@ -115,11 +115,11 @@ type EditRequest {
115115 Component string `json:"component"`
116116 Icon string `json:"icon"`
117117 IconType string `json:"iconType"`
118- ParentId uint64 `json:"parentId"`
118+ ParentId int64 `json:"parentId"`
119119 Status string `json:"status"`
120120 KeepAlive bool `json:"keepAlive"`
121121 Constant bool `json:"constant"`
122- Order uint64 `json:"order"`
122+ Order int64 `json:"order"`
123123 HideInMenu bool `json:"hideInMenu"`
124124 Href string `json:"href,optional"`
125125 MutiTab bool `json:"mutiTab,optional"`
0 commit comments