|
|
|
@ -9,7 +9,7 @@ class Weapps::ChallengesController < Weapps::BaseController
|
|
|
|
|
play = @shixun.is_jupyter? || @shixun.vnc ||
|
|
|
|
|
@shixun.hide_code? || (@shixun.small_mirror_name & ["Css", "Html", "Web"]).present?
|
|
|
|
|
|
|
|
|
|
if play
|
|
|
|
|
if play && @challenge.st != 1
|
|
|
|
|
normal_status(-5, "该关卡暂不支持小程序")
|
|
|
|
|
else
|
|
|
|
|
render_ok
|
|
|
|
|