Browse Source

feat:weixin 关键词区分大小写

fuwencai 10 months ago
parent
commit
b9214cfc54
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/jfw/modules/weixin/src/wx/reply.go

+ 1 - 1
src/jfw/modules/weixin/src/wx/reply.go

@@ -36,7 +36,7 @@ FROM
         LEFT JOIN
     %s wrc ON (wrc.r_id = wrr.id)
 WHERE
-    wrk.key = ? AND wrr.state = 1
+    BINARY wrk.key = ? AND wrr.state = 1
         AND wrr.start_time <= NOW()
         AND wrr.end_time >= NOW();`, TableWxReplyKeys, TableWxReplyRule, TableWxReplyContent)
 	rs := tools.Mysql.SelectBySql(query, keys)