fix: try to fix pgsql #685

This commit is contained in:
delph1s
2025-01-02 00:14:16 +08:00
committed by GitHub
parent bf9a492f25
commit 42bf95bd54

View File

@@ -119,6 +119,7 @@ func SearchChannels(keyword string, group string, model string, idSort bool) ([]
// 如果是 PostgreSQL使用双引号
if common.UsingPostgreSQL {
keyCol = `"key"`
modelsCol = `"models"`
}
order := "priority desc"