关卡列表接口调整

dev_aliyun2
daiao 5 years ago committed by harry
parent 22c3ee725a
commit 73335be4e1

@ -75,7 +75,7 @@ class Challenge < ApplicationRecord
if identifier.present?
shixun.task_pass || self.status != 3 ? "/tasks/#{identifier}" : ""
else
self.position == 1 ? "/api/shixuns/#{shixun.identifier}/shixun_exec" : ""
self.position == 1 ? "/shixuns/#{shixun.identifier}/shixun_exec.json" : ""
end
end

Loading…
Cancel
Save