From 8b3fae60a1a93ad486d12bb20481a17333271a45 Mon Sep 17 00:00:00 2001 From: huang Date: Fri, 24 Mar 2017 12:33:58 +0800 Subject: [PATCH] =?UTF-8?q?output64=E4=BD=8D=E7=BC=96=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/myshixuns_controller.rb | 2 +- app/views/myshixuns/_myshixun_top.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/myshixuns_controller.rb b/app/controllers/myshixuns_controller.rb index 011b40851..90d809c06 100644 --- a/app/controllers/myshixuns_controller.rb +++ b/app/controllers/myshixuns_controller.rb @@ -11,7 +11,7 @@ class MyshixunsController < ApplicationController def training_task_status status = params[:status].to_i task_id = params[:taskId] - outPut = params[:outPut] + outPut = Base64.decode64(params[:outPut]) unless params[:outPut].blank? message = Base64.decode64(params[:msg]) unless params[:msg].blank? game = Game.find(task_id) if status == 0 diff --git a/app/views/myshixuns/_myshixun_top.html.erb b/app/views/myshixuns/_myshixun_top.html.erb index 6a9683f4b..4a2820ef1 100644 --- a/app/views/myshixuns/_myshixun_top.html.erb +++ b/app/views/myshixuns/_myshixun_top.html.erb @@ -2,7 +2,7 @@

<%= @myshixun.name %>

暂时离开