guange 9 years ago
parent 8279d9385c
commit 09a97fc9d8

@ -8,7 +8,7 @@ class WechatsController < ActionController::Base
# default text responder when no other match # default text responder when no other match
on :text do |request, content| on :text do |request, content|
#邀请码 #邀请码
if join_request if join_request(request)
sendBindClass(request, {invite_code: content}) sendBindClass(request, {invite_code: content})
else else
request.reply.text '您的意见已收到,感谢您的反馈!' request.reply.text '您的意见已收到,感谢您的反馈!'

Loading…
Cancel
Save