|
|
|
@ -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
|
|
|
|
|