优化代码

This commit is contained in:
刘祥超
2022-03-26 22:04:16 +08:00
parent 073926ff67
commit 803f11659c

View File

@@ -94,7 +94,7 @@ func (this *HTTPWebDAO) ComposeWebConfig(tx *dbs.Tx, webId int64, cacheMap *util
return nil, nil
}
config := &serverconfigs.HTTPWebConfig{}
var config = &serverconfigs.HTTPWebConfig{}
config.Id = webId
config.IsOn = web.IsOn