mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-25 14:36:35 +08:00
修复DNS节点升级文件无法下载的Bug
This commit is contained in:
@@ -215,7 +215,6 @@ func (this *DNSDomainDAO) FindDomainRouteName(tx *dbs.Tx, domainId int64, routeC
|
||||
func (this *DNSDomainDAO) ExistAvailableDomains(tx *dbs.Tx) (bool, error) {
|
||||
subQuery, err := SharedDNSProviderDAO.Query(tx).
|
||||
Where("state=1"). // 这里要使用非变量
|
||||
SQLCache(dbs.QuerySqlCacheDefault). // 子查询不能使用SQL_CACHE
|
||||
ResultPk().
|
||||
AsSQL()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user