yjp преди 2 седмици
родител
ревизия
698529897b
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  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 导出