chromesetting
guange 5 years ago
parent 61d21be98c
commit c629717b8e

@ -11,6 +11,10 @@ module JupyterService
logger.info "test_juypter: uri->#{uri}, params->#{params}" logger.info "test_juypter: uri->#{uri}, params->#{params}"
res = uri_post uri, params res = uri_post uri, params
if res && res['code'].to_i != 0
raise("实训云平台繁忙繁忙等级99")
end
logger.info "test_juypter: #{res}" logger.info "test_juypter: #{res}"
@shixun_jupyter_port = res['port'] @shixun_jupyter_port = res['port']

Loading…
Cancel
Save