소스 검색

修改Bug

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 导出