增加查询授权版本接口

This commit is contained in:
GoEdgeLab
2023-03-31 12:39:48 +08:00
parent 114e315da1
commit ec9e585b5e
3 changed files with 218 additions and 33 deletions

View File

@@ -35,6 +35,7 @@ func NewServerError(serverId int64, message string) *ServerError {
// NodeConfig 边缘节点配置
type NodeConfig struct {
Id int64 `yaml:"id" json:"id"`
Edition string `yaml:"edition" json:"edition"`
NodeId string `yaml:"nodeId" json:"nodeId"`
Secret string `yaml:"secret" json:"secret"`
IsOn bool `yaml:"isOn" json:"isOn"`