This commit is contained in:
parent
8279d9385c
commit
09a97fc9d8
|
@ -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 '您的意见已收到,感谢您的反馈!'
|
||||
|
|
Loading…
Reference in New Issue