|
|
@@ -197,6 +197,7 @@ func (api *Api) ChooseRouter(routerType string, version string) Router {
|
|
|
|
|
|
type DumpedPermissionItems struct {
|
|
|
Namespace string `json:"namespace"`
|
|
|
+ Gateway string `json:"gateway"`
|
|
|
New []PermissionItem `json:"new" json:"new"`
|
|
|
Update []PermissionItem `json:"update" json:"update"`
|
|
|
Delete []PermissionItem `json:"delete" json:"delete"`
|
|
|
@@ -214,6 +215,7 @@ func (api *Api) DumpRouterPermissionItems() (*DumpedPermissionItems, error) {
|
|
|
|
|
|
dumped := &DumpedPermissionItems{
|
|
|
Namespace: api.options.dumpPermissionItemsOption.Namespace,
|
|
|
+ Gateway: api.options.dumpPermissionItemsOption.Gateway,
|
|
|
New: make([]PermissionItem, 0),
|
|
|
Update: make([]PermissionItem, 0),
|
|
|
Delete: make([]PermissionItem, 0),
|