Browse Source

1

master v1.7.2
lijianbin 4 days ago
parent
commit
ab9316b877
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      common.go

+ 1
- 1
common.go View File

@ -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",


Loading…
Cancel
Save