This commit is contained in:
nopy 2024-07-06 18:50:10 +08:00
commit 5a008f33a3
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 @app.route("/api/teacher/list_pods",methods=['POST']) # 列出pod
def teacher_list_pods(): def teacher_list_pods():
return list_pods() return list_pods()
@ -350,7 +346,7 @@ def teacher_list_services():
# @app.route("/api/teacher/create_pod") # 创建服务 1为项目实训 0为安装实训 # @app.route("/api/teacher/create_pod") # 创建服务 1为项目实训 0为安装实训
# def teacher_create_pod(): # def teacher_create_pod():
# create_pod(1, "test2") # create_pod(1, "test2")
#
@app.route("/api/teacher/DelPods",methods=['POST']) # 删除服务 @app.route("/api/teacher/DelPods",methods=['POST']) # 删除服务
def teacher_delete_pod(): def teacher_delete_pod():
name=request.json['name'] name=request.json['name']