diff --git a/app/controllers/shixuns_controller.rb b/app/controllers/shixuns_controller.rb index 0731207e4..572ab525b 100644 --- a/app/controllers/shixuns_controller.rb +++ b/app/controllers/shixuns_controller.rb @@ -522,7 +522,7 @@ class ShixunsController < ApplicationController min_challenges = @shixun.challenges.pluck(:id , :st) Rails.logger.info("11111111112#{current_myshixun.try(:id)}") - Rails.logger.info("111111111102#{params[:reset]}") + Rails.logger.info("111111111102#{params[:reset] != 1}") # 因为读写分离有延迟,所以如果是重置来的请求可以先跳过,重置过来的params[:reset]为1 if current_myshixun && params[:reset] != 1