Browse Source

feat:weixin 关键词回复调整

fuwencai 10 months ago
parent
commit
df2b6d3709
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

@@ -38,7 +38,7 @@ FROM
 WHERE
     BINARY wrk.key = ? AND wrr.state = 1
         AND wrr.start_time <= NOW()
-        AND wrr.end_time >= NOW();`, TableWxReplyKeys, TableWxReplyRule, TableWxReplyContent)
+        AND wrr.end_time >= NOW() order by id;`, TableWxReplyKeys, TableWxReplyRule, TableWxReplyContent)
 	rs := tools.Mysql.SelectBySql(query, keys)
 	// 没匹配上规则
 	if rs == nil || len(*rs) == 0 {