|
|
@ -376,7 +376,7 @@ class MyshixunsController < ApplicationController
|
|
|
|
# todo: identifier 是以前的密码,用来验证的,新版如果不需要,和中间层协调更改.
|
|
|
|
# todo: identifier 是以前的密码,用来验证的,新版如果不需要,和中间层协调更改.
|
|
|
|
params = {tpiID: "#{@myshixun.try(:id)}", tpiGitURL: "#{git_myshixun_url}", tpmGitURL: "#{git_shixun_url}",
|
|
|
|
params = {tpiID: "#{@myshixun.try(:id)}", tpiGitURL: "#{git_myshixun_url}", tpmGitURL: "#{git_shixun_url}",
|
|
|
|
identifier: "xinhu1ji2qu3"}
|
|
|
|
identifier: "xinhu1ji2qu3"}
|
|
|
|
uri = "#{shixun_tomcat}/bridge/game/resetTpmRepository"
|
|
|
|
uri = "#{shixun_tomcat}/bridge/game/resetJupyterTpm"
|
|
|
|
res = uri_post uri, params
|
|
|
|
res = uri_post uri, params
|
|
|
|
if (res && res['code'] != 0)
|
|
|
|
if (res && res['code'] != 0)
|
|
|
|
tip_exception("实训云平台繁忙(繁忙等级:95)")
|
|
|
|
tip_exception("实训云平台繁忙(繁忙等级:95)")
|
|
|
|