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

This commit is contained in:
刘祥超
2023-02-22 17:34:05 +08:00
parent 5e7fe30984
commit c0ef64e935
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