mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-09 19:50:30 +08:00
优化代码
This commit is contained in:
@@ -96,7 +96,7 @@ func (this *HTTPWebDAO) ComposeWebConfig(tx *dbs.Tx, webId int64, cacheMap *util
|
||||
|
||||
config := &serverconfigs.HTTPWebConfig{}
|
||||
config.Id = webId
|
||||
config.IsOn = web.IsOn == 1
|
||||
config.IsOn = web.IsOn
|
||||
|
||||
// root
|
||||
if IsNotNull(web.Root) {
|
||||
|
||||
Reference in New Issue
Block a user