初步完成高防相关管理对象

This commit is contained in:
GoEdgeLab
2023-02-22 17:34:05 +08:00
parent 13975fe6f8
commit da41495b7b
31 changed files with 580 additions and 7 deletions

View File

@@ -121,7 +121,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").
Result("id", "name", "description", "isOn", "type", "clusterId", "userId").
Find()
if result == nil {
return nil, err