mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-20 13:00:24 +08:00
初步完成高防相关管理对象
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user