动态内容调整

chenlw_dev
guange 10 years ago
parent 4607d1a78d
commit c439d62a64

@ -1,6 +1,8 @@
class WechatsController < ActionController::Base class WechatsController < ActionController::Base
wechat_responder wechat_responder
included ApplicationHelper
# default text responder when no other match # default text responder when no other match
on :text do |request, content| on :text do |request, content|
request.reply.text "echo: #{content}" # Just echo request.reply.text "echo: #{content}" # Just echo

Loading…
Cancel
Save