From 49a7e2ce1d3d6dab6f6f75c353e06b2f367a4597 Mon Sep 17 00:00:00 2001 From: cxt Date: Tue, 26 Apr 2016 09:03:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E6=B3=A8=E5=92=8C=E7=BB=91=E5=AE=9A?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E5=90=8E=E5=8F=91=E9=80=81=E6=AC=A2=E8=BF=8E?= =?UTF-8?q?=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/wechats_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/wechats_controller.rb b/app/controllers/wechats_controller.rb index ba00dfbc3..0d75636f7 100644 --- a/app/controllers/wechats_controller.rb +++ b/app/controllers/wechats_controller.rb @@ -133,6 +133,7 @@ class WechatsController < ActionController::Base if uw && uw.user request.reply.text "欢迎回来, #{uw.user.show_name}" else + request.reply.text "欢迎关注Trustie创新实践社区" sendBind(request) end end @@ -177,6 +178,7 @@ class WechatsController < ActionController::Base openid: openid, user: user ) + request.reply.text "欢迎加入Trustie创新实践社区" render :json => {status:0, msg: "绑定成功"} rescue Exception=>e render :json => {status: -1, msg: e.message}