Browse Source

修改Bug

yjp 2 weeks ago
parent
commit
698529897b
1 changed files with 3 additions and 3 deletions
  1. 3 3
      framework/core/api/api.go

+ 3 - 3
framework/core/api/api.go

@@ -198,9 +198,9 @@ 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"`
+	New       []PermissionItem `json:"new"`
+	Update    []PermissionItem `json:"update"`
+	Delete    []PermissionItem `json:"delete"`
 }
 
 // DumpRouterPermissionItems 导出