Sfoglia il codice sorgente

feat:weixin 关键词回复调整

fuwencai 10 mesi fa
parent
commit
df2b6d3709
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 {