优化API命名

This commit is contained in:
刘祥超
2021-05-25 17:08:58 +08:00
parent a07dbb718f
commit ea15096dc3
5 changed files with 63 additions and 61 deletions

View File

@@ -4,6 +4,7 @@ package nameservers
type NSNode struct {
Id uint32 `field:"id"` // ID
ClusterId uint32 `field:"clusterId"` // 集群ID
Name string `field:"name"` // 节点名称
IsOn uint8 `field:"isOn"` // 是否启用
Status string `field:"status"` // 运行状态
UniqueId string `field:"uniqueId"` // 节点ID
@@ -14,6 +15,7 @@ type NSNode struct {
type NSNodeOperator struct {
Id interface{} // ID
ClusterId interface{} // 集群ID
Name interface{} // 节点名称
IsOn interface{} // 是否启用
Status interface{} // 运行状态
UniqueId interface{} // 节点ID