fix: try to fix pgsql #685

This commit is contained in:
delph1s
2025-01-02 00:14:16 +08:00
committed by GitHub
parent eec3aa3bbd
commit 7244adada5

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"