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

Commit 70b2a15a by 李景熙

打分

parent 7ba594de
...@@ -193,8 +193,7 @@ def get_task_detail(): ...@@ -193,8 +193,7 @@ def get_task_detail():
def grade(): def grade():
data_id = request.args['fileId'] data_id = request.args['fileId']
userId = request.args['userId'] userId = request.args['userId']
scoreForm = eval(request.args['scoreForm']) score = int(request.args['score'])
score = int(scoreForm['score'])
ret = Data.find_slice_id(data_id) ret = Data.find_slice_id(data_id)
if ret.code == 0: if ret.code == 0:
......
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