|
|
@ -49,13 +49,7 @@ class WechatsController < ActionController::Base
|
|
|
|
# When no any on :scan responder can match subscribe user scaned scene_id
|
|
|
|
# When no any on :scan responder can match subscribe user scaned scene_id
|
|
|
|
on :event, with: 'scan' do |request|
|
|
|
|
on :event, with: 'scan' do |request|
|
|
|
|
if request[:EventKey].present?
|
|
|
|
if request[:EventKey].present?
|
|
|
|
|
|
|
|
checkTicket(request, {ticket: request[:Ticket]})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sendBindClass(request, {ticket: request[:Ticket]})
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|