This commit is contained in:
邹宗楠
2022-06-23 15:28:33 +08:00
parent aa2a2d4668
commit 24be6bcab3

View File

@@ -28,7 +28,7 @@ func ListConfig(key string) (configList []*legacymodel.Config, err error) {
` `
sqlParams := []interface{}{} sqlParams := []interface{}{}
if key != "" { if key != "" {
sql += " WHERE thirdparty = ?" sql += " WHERE thirdparty = ?"
sqlParams = append(sqlParams, key) sqlParams = append(sqlParams, key)
} }
db := dao.GetDB() db := dao.GetDB()