This commit is contained in:
guange 2016-07-09 10:23:49 +08:00
parent 8279d9385c
commit 09a97fc9d8
1 changed files with 1 additions and 1 deletions

View File

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