参数名错误

This commit is contained in:
sw 2015-07-17 14:35:27 +08:00
parent 0718a28382
commit 666539a4cc
1 changed files with 1 additions and 1 deletions

View File

@ -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
} }