dev_daiao
daiao 5 years ago
parent df6d956bdc
commit 1c1cd295c9

@ -86,12 +86,12 @@ class HackUserLastestCodesController < ApplicationController
{input: params[:input]}
end
testCases = Base64.urlsafe_encode64(test_sets.to_json)
codeFileContent = Base64.urlsafe_encode64(@my_hack.code)
#codeFileContent = Base64.urlsafe_encode64(@my_hack.code)
debug_params = {execMode: exec_mode,
tpiID: @my_hack.identifier,
testCases: testCases,
platform: @my_hack.language,
codeFileContent: codeFileContent,
codeFileContent: @my_hack.code,
timeLimit: @hack.time_limit,
sec_key: Time.now.to_i}
interface_json_post request_url, debug_params, error_status, error_msg

Loading…
Cancel
Save