show_type日志

dev_unstable^2
daiao 5 years ago
parent 4c6a24b69b
commit e6ceeeec11

@ -210,8 +210,6 @@ class ChallengesController < ApplicationController
# 测试集的
@shixun.myshixuns.update_all(:system_tip => 0)
end
logger.info("########---#{params[:challenge]}")
logger.info("########---#{params[:challenge]['show_type']}")
if params[:challenge][:show_type].to_i == -1
@challenge.update_attributes(picture_path: nil, web_route: nil, expect_picture_path: nil, original_picture_path: nil)
end

Loading…
Cancel
Save