From a9c5b791b5b3b1ee191d70487ae6875ee8b63383 Mon Sep 17 00:00:00 2001 From: cxt Date: Tue, 12 Mar 2019 20:48:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/ec_courses_controller.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/controllers/ec_courses_controller.rb b/app/controllers/ec_courses_controller.rb index 0e0862c8..124d642c 100644 --- a/app/controllers/ec_courses_controller.rb +++ b/app/controllers/ec_courses_controller.rb @@ -415,6 +415,8 @@ class EcCoursesController < ApplicationController def score_level respond_to do |format| format.html{ + Rails.logger.info("1111111111111111111template_major: #{@template_major}") + Rails.logger.info("1111111111111111111is_manager: #{@is_manager}") render "/common/index", :layout => false } format.json{ @@ -430,8 +432,8 @@ class EcCoursesController < ApplicationController {score: 70, level: "中"}, {score: 60, level: "差"}] end - Rails.logger.info("template_major: #{@template_major}") - Rails.logger.info("is_manager: #{@is_manager}") + Rails.logger.info("222222222222222222222template_major: #{@template_major}") + Rails.logger.info("2222222222222222222222222is_manager: #{@is_manager}") render :json => {levels: ls, is_manager: @is_manager} } end