Merge pull request #686 from delph1s/main

fix: try to fix pgsql #685
This commit is contained in:
Calcium-Ion
2025-01-02 00:17:02 +08:00
committed by GitHub

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"