🐛 fix bugs

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

Former-commit-id: 9a5898242bef4338203ee9b798eb8488844bd3b3
This commit is contained in:
jagger 2024-03-21 09:17:41 +08:00
parent 3279fde8c4
commit cac72a9fe3
2 changed files with 9 additions and 1 deletions

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"`

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)