参数名错误
This commit is contained in:
parent
0718a28382
commit
666539a4cc
|
@ -124,7 +124,7 @@ class StudentWorkController < ApplicationController
|
||||||
if @homework.homework_type == 2 && @homework.homework_detail_programing #编程作业,学生提交作品后计算系统得分
|
if @homework.homework_type == 2 && @homework.homework_detail_programing #编程作业,学生提交作品后计算系统得分
|
||||||
url = "http://192.168.80.21:8080/api/questions/#{@homework.homework_detail_programing.question_id}/solutions.json"
|
url = "http://192.168.80.21:8080/api/questions/#{@homework.homework_detail_programing.question_id}/solutions.json"
|
||||||
solutions = {
|
solutions = {
|
||||||
stundet_work_id:stundet_work.id,
|
student_work_id:stundet_work.id,
|
||||||
src:Base64.encode64(stundet_work.description),
|
src:Base64.encode64(stundet_work.description),
|
||||||
language:1
|
language:1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue