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}