From 1d6d100983fbdc6af96004bced4d6a00fa816141 Mon Sep 17 00:00:00 2001 From: guange <8863824@gmail.com> Date: Mon, 20 Jun 2016 17:37:35 +0800 Subject: [PATCH] . --- app/controllers/wechats_controller.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/controllers/wechats_controller.rb b/app/controllers/wechats_controller.rb index 7ef2831a0..6517c756e 100644 --- a/app/controllers/wechats_controller.rb +++ b/app/controllers/wechats_controller.rb @@ -21,8 +21,10 @@ class WechatsController < ActionController::Base pic_url: pic_url, url: url end - return + else + request.reply.text "课程邀请码不正确" end + return end request.reply.text "您的意见已收到,感谢您的反馈!" # Just echo end