|
|
|
@ -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 '您的意见已收到,感谢您的反馈!'
|
|
|
|
|