dev_aliyun
cxt 5 years ago
parent 0261605301
commit a4b1fe3045

@ -491,7 +491,7 @@ class WelcomeController < ApplicationController
trainee: shixun.trainee, webssh: shixun.webssh, multi_webssh: shixun.multi_webssh, trainee: shixun.trainee, webssh: shixun.webssh, multi_webssh: shixun.multi_webssh,
can_copy: shixun.can_copy, identifier: generate_identifier, shixun_id: shixun.id, can_copy: shixun.can_copy, identifier: generate_identifier, shixun_id: shixun.id,
use_scope: shixun.use_scope, visits: 1, evaluate_script: shixun.evaluate_script, use_scope: shixun.use_scope, visits: 1, evaluate_script: shixun.evaluate_script,
local_giturl: shixun.git_url) local_giturl: shixun.repo_name)
# 同步更新实践课程中对应的shixun_id # 同步更新实践课程中对应的shixun_id
LocalStageShixun.where(shixun_id: shixun.id).update_all(local_shixun_id: local_shixun.id) LocalStageShixun.where(shixun_id: shixun.id).update_all(local_shixun_id: local_shixun.id)

Loading…
Cancel
Save