diff --git a/common.go b/common.go index 771a05f..35987ba 100644 --- a/common.go +++ b/common.go @@ -30,7 +30,7 @@ func ReplaeByOtherSql(sql, sql_type, action string) string { sql = helper.StringJoin(sql, " RETURNING id") } // 定义需要处理的关键字列表 - keywords := []string{"user", "order", "group", "table", "view", "admin", "new"} + keywords := []string{"user", "order", "group", "table", "view", "admin", "new", "top"} //设置保护词组 excludePhrases := []string{ "order by", "group by", "GROUP BY", "ORDER BY", "WITHIN GROUP", "within group",