测试数据

newyslclassrooms
daiao 5 years ago
parent 1ee1984ca8
commit 518ee3aa32

@ -79,7 +79,7 @@ class Challenge < ApplicationRecord
# end
# end
def open_game user_id, shixun
def open_game shixun, user_id
game = self.games.where(user_id: user_id).first
if game.present?
shixun.task_pass || game.status != 3 ? "/tasks/#{game.identifier}" : ""

Loading…
Cancel
Save