Browse Source

代码重构

master
wangwei10061 3 months ago
parent
commit
4b550b775f
9 changed files with 0 additions and 207 deletions
  1. +0
    -5
      Hello.java
  2. +0
    -0
      a.java
  3. +0
    -0
      aaaaaaaaaa
  4. +0
    -1
      nihao
  5. +0
    -3
      test.txt
  6. +0
    -1
      test1
  7. +0
    -1
      test11.py
  8. +0
    -6
      test3.py
  9. +0
    -190
      实训相关接口

+ 0
- 5
Hello.java View File

@@ -1,5 +0,0 @@
public class {
public static void main(String[] args) {
System.out.println("hello");
}
}

+ 0
- 0
a.java View File


+ 0
- 0
aaaaaaaaaa View File


+ 0
- 1
nihao View File

@@ -1 +0,0 @@
niasda

+ 0
- 3
test.txt View File

@@ -1,3 +0,0 @@
测试push
11


+ 0
- 1
test1 View File

@@ -1 +0,0 @@
print('hello')

+ 0
- 1
test11.py View File

@@ -1 +0,0 @@
print('hello')

+ 0
- 6
test3.py View File

@@ -1,6 +0,0 @@
printf('1111')

这是第一个变更


print(123)

+ 0
- 190
实训相关接口 View File

@@ -1,190 +0,0 @@
1、命令行评测实训
链接: https://test.educoder.net/tasks/augzqmrx5nw9
启动命令行接口:https://test-data.educoder.net/api/myshixuns/4yzwfose6q/start.json?game_id=2215157
返回参数
{
"status": 0,
"message": "success",
"data": {
"host": "172.16.95.1",
"port": "41279",
"link_url": "wss://pre-webssh.educoder.net/ws", # 这个是之前的ws_url
"username": "root",
"password": "XhKb4HwQ2FrnqjiS",
"myshixun_id": 584178,
"webssh_url": "http://172.16.94.254:8890/bridge",
"remainingTime": 1800000,
"mapping_service_url": "https://41280testsvc1.vnc.educoder.net"
}
}
激活接口:https://test-data.educoder.net/api/myshixuns/4yzwfose6q/active_pod.json?game_id=2215157
返回参数:
{
"status": 0,
"message": "success",
"data": {
"remaining_time": 1800000
}
}
重置命令行接口:https://test-data.educoder.net/api/myshixuns/4yzwfose6q/reset_pod.json?game_id=2215157
返回接口:
{
"status": 0,
"message": "success",
"data": {
"host": "172.16.95.1",
"port": "41279",
"link_url": "wss://pre-webssh.educoder.net/ws",
"username": "root",
"password": "XhKb4HwQ2FrnqjiS",
"myshixun_id": 584178,
"webssh_url": "http://172.16.94.254:8890/bridge",
"remainingTime": 1800000,
"mapping_service_url": "https://41280testsvc1.vnc.educoder.net"
}
}


2、命令行练习模式
链接:https://test.educoder.net/tasks/xjf8k5cvglpe
命令行练习模式链接接口:https://test-data.educoder.net/api/myshixuns/ulzyaw86j7/start.json?game_id=2215160
返回参数:
{
"status": 0,
"message": "success",
"data": {
"host": "172.16.95.1",
"port": "41281",
"link_url": "wss://pre-webssh.educoder.net/ws",
"username": "root",
"password": "UoeOXal40rkNrOSM",
"myshixun_id": 584179,
"webssh_url": "http://172.16.94.254:8890/bridge",
"remainingTime": 1800000,
"mapping_service_url": null
}
}
重置命令行接口: https://test-data.educoder.net/api/myshixuns/ulzyaw86j7/reset_pod.json?game_id=2215160
返回参数:
{
"status": 0,
"message": "success",
"data": {
"host": "172.16.95.1",
"port": "41284",
"link_url": "wss://pre-webssh.educoder.net/ws",
"username": "root",
"password": "4tsMtsXr5hxnrAMg",
"myshixun_id": 584179,
"webssh_url": "http://172.16.94.254:8890/bridge",
"remainingTime": 1800000,
"mapping_service_url": null
}
}
激活命令行接口:https://test-data.educoder.net/api/myshixuns/ulzyaw86j7/active_pod.json?game_id=2215157


3、 图形化模式
链接: https://test.educoder.net/tasks/qjo69pf4yen2
图形化链接的接口:https://test-data.educoder.net/api/myshixuns/68we3nqvlo/start.json
返回参数:
{
"status": 0,
"message": "success",
"data": {
"link_url": "https://41285testsvc1.vnc.educoder.net/vnc_lite.html?password=krFgfmEUo1eoJXSp",
"remaining_time": 1800000,
"mapping_service_url": null
}
}
图形化激活:https://test-data.educoder.net/api/myshixuns/68we3nqvlo/active_pod.json
返回参数:
{
"status": 0,
"message": "success",
"data": {
"remaining_time": 1800000
}
}
图形化重置:https://test-data.educoder.net/api/myshixuns/68we3nqvlo/reset_pod.json
返回参数
{
"status": 0,
"message": "success",
"data": {
"link_url": "https://41286testsvc1.vnc.educoder.net/vnc_lite.html?password=ubUfnZXfTaP2v8FS",
"remaining_time": 1800000,
"mapping_service_url": null
}
}

4、 jupyter类型
链接:https://test.educoder.net/tasks/kgilr324mf/jupyter
获取链接地址:https://test-data.educoder.net/api/myshixuns/kgilr324mf/start.json
返回参数:
{
"status": 0,
"message": "success",
"data": [{
"name": "",
"link_url": "https://41293testsvc1.vnc.educoder.net/notebooks/data/workspace/myshixun_584124/kgilr324mf20221213161642/01.ipynb?token=YkKtEKzePMHKe8tJ",
"remaining_time": 3600000
}]
}
激活时间:https://test-data.educoder.net/api/myshixuns/kgilr324mf/active_pod.json
重置环境:https://test-data.educoder.net/api/myshixuns/kgilr324mf/reset_pod.json


5. Vscode模式
链接:https://test.educoder.net/tasks/xzty6mscw4ak
获取链接接口:https://test-data.educoder.net/api/myshixuns/3cr9h8szfe/start.json
激活时间接口:https://test-data.educoder.net/api/myshixuns/3cr9h8szfe/active_pod.json
重置环境接口:https://test-data.educoder.net/api/myshixuns/3cr9h8szfe/reset_pod.json

6. jupytelab模式
链接:https://test.educoder.net/tasks/w3ku7g6hlt/jupyter
获取链接接口:https://test-data.educoder.net/api/myshixuns/w3ku7g6hlt/start.json
激活时间:https://test-data.educoder.net/api/myshixuns/w3ku7g6hlt/active_pod.json
重置接口:https://test-data.educoder.net/api/myshixuns/w3ku7g6hlt/reset_pod.json

7. 容器启动web类型
链接:https://test.educoder.net/tasks/iumv78glocw3
获取链接地址:https://test-data.educoder.net/api/myshixuns/gp24f3a5mr/start.json?game_id=2215349
激活时间:https://test-data.educoder.net/api/myshixuns/gp24f3a5mr/active_pod.json?game_id=2215349
重置接口:https://test-data.educoder.net/api/myshixuns/gp24f3a5mr/reset_pod.json?game_id=2215349

8. 阿里云命令行
链接:https://test.educoder.net/tasks/6vts7iqz5bok
获取链接地址:https://test-data.educoder.net/api/myshixuns/metj9p8uvg/start.json?position=1(position表示第几个命令行)
激活时间:https://test-data.educoder.net/api/myshixuns/metj9p8uvg/active_pod.json?position=1
重置环境:https://test-data.educoder.net/api/myshixuns/metj9p8uvg/reset_pod.json?position=1

9.算能云(目前测试版还不能测)
链接:https://test.educoder.net/tasks/nilpzk5f34ya
获取链接地址:https://test-data.educoder.net/api/myshixuns/9uakizlso8/start.json
激活时间:https://test-data.educoder.net/api/myshixuns/9uakizlso8/active_pod.json
重置环境:https://test-data.educoder.net/api/myshixuns/9uakizlso8/reset_pod.json

10. 交大云
链接:https://test.educoder.net/tasks/eyugo7923hxf
获取链接地址:https://test-data.educoder.net/api/myshixuns/ijpzyrtfqv/start.json?position=1 (position命令行的位置)
激活时间:https://test-data.educoder.net/api/myshixuns/ijpzyrtfqv/active_pod.json?position=1
重置环境: https://test-data.educoder.net/api/myshixuns/ijpzyrtfqv/reset_pod.json?position=1

11. windows云主机
链接:https://test.educoder.net/tasks/erws5kijf9cf
获取链接地址:https://test-data.educoder.net/api/myshixuns/gqszl4u3ef/start.json
激活时间:https://test-data.educoder.net/api/myshixuns/gqszl4u3ef/active_pod.json
重置环境:https://test-data.educoder.net/api/myshixuns/gqszl4u3ef/reset_pod.json

12.虚拟机
链接:https://test.educoder.net/tasks/ir8p4ockhygt
获取链接地址:https://test-data.educoder.net/api/myshixuns/zo85g3lv2y/start.json
激活时间:https://test-data.educoder.net/api/myshixuns/zo85g3lv2y/active_pod.json
重置环境:https://test-data.educoder.net/api/myshixuns/zo85g3lv2y/reset_pod.json

13. 阿里云Linux图形化
链接:https://test.educoder.net/tasks/bhiv3eyfug56
获取链接地址:https://test-data.educoder.net/api/myshixuns/zf6hb4pwnj/start.json
激活时间:https://test-data.educoder.net/api/myshixuns/zf6hb4pwnj/active_pod.json
重置环境:https://test-data.educoder.net/api/myshixuns/zf6hb4pwnj/reset_pod.json

Loading…
Cancel
Save