修复部分API返回格式错误

This commit is contained in:
GoEdgeLab
2024-02-24 09:52:47 +08:00
parent b6e77fa194
commit 6ac798957e
2 changed files with 5 additions and 15 deletions

View File

@@ -1466,7 +1466,7 @@ func (this *HTTPWebDAO) UpdateWebReferers(tx *dbs.Tx, webId int64, referersConfi
return this.NotifyUpdate(tx, webId)
}
// FindWebReferers 查找服务的防盗链配置
// FindWebReferers 查找网站的防盗链配置
func (this *HTTPWebDAO) FindWebReferers(tx *dbs.Tx, webId int64) ([]byte, error) {
return this.Query(tx).
Pk(webId).