dev_local
daiao 6 years ago
parent b4383f31d7
commit a59019e075

@ -922,6 +922,8 @@ class ShixunsController < ApplicationController
# end # end
# end # end
# 同步复制关卡 # 同步复制关卡
logger.info("###########shixun_identifier#{@shixun.id},#{@shixun.identifier}")
logger.info("###########challenges#{@shixun.challenges.map(&:id)}")
if @shixun.challenges.present? if @shixun.challenges.present?
@shixun.challenges.each do |challenge| @shixun.challenges.each do |challenge|
new_challenge = Challenge.new new_challenge = Challenge.new

Loading…
Cancel
Save