Browse Source

🐛 fix bugs

Signed-off-by: jagger <cossjie@foxmail.com>

Former-commit-id: 9a5898242b
pull/61/head
jagger 1 year ago
parent
commit
cac72a9fe3
2 changed files with 9 additions and 1 deletions
  1. +8
    -0
      api/desc/core/pcm-core.api
  2. +1
    -1
      api/desc/pcm.api

+ 8
- 0
api/desc/core/pcm-core.api View File

@@ -526,6 +526,14 @@ type (
Server string `form:"server,optional"` Server string `form:"server,optional"`
PageInfo PageInfo
} }
AdapterRelationQueryReq {
Id string `form:"id,optional" db:"id"`
Name string `form:"name,optional"`
Type string `form:"type,optional"`
Nickname string `form:"nickname,optional"`
Version string `form:"version,optional"`
Server string `form:"server,optional"`
}
AdapterReq { AdapterReq {
Id string `json:"id,optional" db:"id"` Id string `json:"id,optional" db:"id"`
Name string `json:"name,optional"` Name string `json:"name,optional"`


+ 1
- 1
api/desc/pcm.api View File

@@ -844,7 +844,7 @@ service pcm {
get /adapter/cluster/get (FId) returns (ClusterResp) get /adapter/cluster/get (FId) returns (ClusterResp)


@handler GetAdapterRelationHandler @handler GetAdapterRelationHandler
get /adapter/relation (AdapterQueryReq) returns (PageResult)
get /adapter/relation (AdapterRelationQueryReq) returns (PageResult)


@handler GetClusterSumHandler @handler GetClusterSumHandler
get /adapter/clusterSum (clusterSumReq) returns (clusterSumReqResp) get /adapter/clusterSum (clusterSumReq) returns (clusterSumReqResp)


Loading…
Cancel
Save