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