mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 16:00:24 +08:00 
			
		
		
		
	节点中增加授权信息
This commit is contained in:
		@@ -14,6 +14,7 @@ import (
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
var (
 | 
					var (
 | 
				
			||||||
	IsPlus             = false
 | 
						IsPlus             = false
 | 
				
			||||||
 | 
						Edition            = ""
 | 
				
			||||||
	MaxNodes     int32 = 0
 | 
						MaxNodes     int32 = 0
 | 
				
			||||||
	NodeId       int64 = 0
 | 
						NodeId       int64 = 0
 | 
				
			||||||
	Debug              = false
 | 
						Debug              = false
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -986,6 +986,7 @@ func (this *NodeDAO) ComposeNodeConfig(tx *dbs.Tx, nodeId int64, dataMap *shared
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	var config = &nodeconfigs.NodeConfig{
 | 
						var config = &nodeconfigs.NodeConfig{
 | 
				
			||||||
		Id:            int64(node.Id),
 | 
							Id:            int64(node.Id),
 | 
				
			||||||
 | 
							Edition:       teaconst.Edition,
 | 
				
			||||||
		NodeId:        node.UniqueId,
 | 
							NodeId:        node.UniqueId,
 | 
				
			||||||
		Secret:        node.Secret,
 | 
							Secret:        node.Secret,
 | 
				
			||||||
		IsOn:          node.IsOn,
 | 
							IsOn:          node.IsOn,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user