|
|
|
@ -763,7 +763,7 @@ class ShixunsController < ApplicationController
|
|
|
|
|
else
|
|
|
|
|
commit = GitService.commits(repo_path: @repo_path).try(:first)
|
|
|
|
|
uid_logger("First comit########{commit}")
|
|
|
|
|
tip_exception("开启挑战前,请先在Jupyter中填写内容") if commit.blank?
|
|
|
|
|
tip_exception("开启挑战前,请先在Jupyter中填写内容并保存") if commit.blank?
|
|
|
|
|
commit_id = commit["id"]
|
|
|
|
|
cloud_bridge = edu_setting('cloud_bridge')
|
|
|
|
|
myshixun_identifier = generate_identifier Myshixun, 10
|
|
|
|
|