diff --git a/app/controllers/shixuns_controller.rb b/app/controllers/shixuns_controller.rb index 16d962b08..8df09ca82 100644 --- a/app/controllers/shixuns_controller.rb +++ b/app/controllers/shixuns_controller.rb @@ -619,7 +619,7 @@ class ShixunsController < ApplicationController rep.type = "Repository::Gitlab" rep.save! login = User.find_by_mail("educoder@163.com").try(:login) - rep_url = Base64.encode64(git_shixun_url_ip shixun, login) + rep_url = Base64.encode64(git_myshixun_url_ip(myshixun, myshixun.try(:user_id))) uri = URI("#{shixun_tomcat}/bridge/game/openGameInstance") pipeLine = "#{shixun.script}" params = {jobNameForInstance: "myshixun_#{myshixun.id}", gameInfo: shixun.gameInfo, instanceGitURL:rep_url}