|
|
@ -467,7 +467,7 @@ class ShixunsController < ApplicationController
|
|
|
|
def update_learn_setting
|
|
|
|
def update_learn_setting
|
|
|
|
begin
|
|
|
|
begin
|
|
|
|
ActiveRecord::Base.transaction do
|
|
|
|
ActiveRecord::Base.transaction do
|
|
|
|
@shixun.update_attributes!(shixun_params)
|
|
|
|
@shixun.update_attributes!(shixun_params.merge(vnc_evaluate: 1))
|
|
|
|
end
|
|
|
|
end
|
|
|
|
rescue => e
|
|
|
|
rescue => e
|
|
|
|
uid_logger_error("实训学习页面设置失败--------#{e.message}")
|
|
|
|
uid_logger_error("实训学习页面设置失败--------#{e.message}")
|
|
|
|