This commit is contained in:
30404 2024-07-06 18:32:09 +08:00
parent 4b8313e859
commit 9f6f151dcb
2 changed files with 4 additions and 8 deletions

View File

@ -336,10 +336,6 @@ def appendQuestion():
@app.route("/api/teacher/list_pods",methods=['POST']) # 列出pod
def teacher_list_pods():
return list_pods()
@ -350,7 +346,7 @@ def teacher_list_services():
# @app.route("/api/teacher/create_pod") # 创建服务 1为项目实训 0为安装实训
# def teacher_create_pod():
# create_pod(1, "test2")
#
@app.route("/api/teacher/DelPods",methods=['POST']) # 删除服务
def teacher_delete_pod():
name=request.json['name']