Merge branch 'master' of https://gitea.xn--7p0a.site/2312072104/dm
This commit is contained in:
commit
5a008f33a3
|
@ -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']
|
||||
|
|
Loading…
Reference in New Issue