mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-08 02:20:24 +08:00
增加服务之间拷贝配置的API(开源版本只有定义,没有完全实现)
This commit is contained in:
@@ -126,7 +126,7 @@ func (this *ServerDAO) FindEnabledServerBasic(tx *dbs.Tx, serverId int64) (*Serv
|
||||
result, err := this.Query(tx).
|
||||
Pk(serverId).
|
||||
State(ServerStateEnabled).
|
||||
Result("id", "name", "description", "isOn", "type", "clusterId", "userId").
|
||||
Result("id", "name", "description", "isOn", "type", "clusterId", "userId", "groupIds").
|
||||
Find()
|
||||
if result == nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user