微信菜单点击加入项目修改
This commit is contained in:
parent
bb0bfa21cc
commit
4c9e183cd0
|
@ -149,13 +149,13 @@ class WechatsController < ActionController::Base
|
|||
end
|
||||
|
||||
on :click, with: 'JOIN_PROJECT' do |request, key|
|
||||
request.reply.text "该功能将在近日开放,敬请期待!"
|
||||
# uw = user_binded?(request[:FromUserName])
|
||||
# unless uw
|
||||
# sendBind(request)
|
||||
# else
|
||||
# request.reply.text "请直接回复6位项目邀请码\n(不区分大小写):"
|
||||
# end
|
||||
# request.reply.text "该功能将在近日开放,敬请期待!"
|
||||
uw = user_binded?(request[:FromUserName])
|
||||
unless uw
|
||||
sendBind(request)
|
||||
else
|
||||
request.reply.text "请直接回复6位项目邀请码\n(不区分大小写):"
|
||||
end
|
||||
end
|
||||
|
||||
on :click, with: 'JOIN_CLASS' do |request, key|
|
||||
|
|
Loading…
Reference in New Issue