From 833c5a5ede74b391af1d25cc09f2e5ce74cd19af Mon Sep 17 00:00:00 2001 From: guange <8863824@gmail.com> Date: Wed, 22 Jun 2016 12:27:23 +0800 Subject: [PATCH] . --- app/controllers/wechats_controller.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/controllers/wechats_controller.rb b/app/controllers/wechats_controller.rb index 458c5024a..8a596a470 100644 --- a/app/controllers/wechats_controller.rb +++ b/app/controllers/wechats_controller.rb @@ -20,11 +20,10 @@ class WechatsController < ActionController::Base description: n[:content], pic_url: pic_url, url: url - end + end and return else - request.reply.text "课程邀请码不正确" + request.reply.text "课程邀请码不正确" and return end - return end request.reply.text "您的意见已收到,感谢您的反馈!" # Just echo end