文档服务地址:http://47.92.0.57:3000/ 周报索引地址:http://47.92.0.57:3000/s/NruNXRYmV

Commit 118b498b by 李景熙

添加打分接口

parent a3a2a862
......@@ -186,3 +186,11 @@ def get_task_detail():
}
}
return json.dumps(res)
# 审核时候打分的接口,前端传送打分的具体任务
@task.route("/gradePiece", methods=["GET"])
def grade():
taskId = request.args['taskId']
pieceId = request.args['pieceId']
scoreForm = request.args['scoreForm']
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment