From fed8142ea913251395d1c4060da74cafddb2bf34 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Thu, 1 Aug 2019 15:38:29 +0800 Subject: [PATCH] =?UTF-8?q?mp3mp4=E7=9A=84=E5=AE=9E=E8=AE=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/games/picture_display.json.jbuilder | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/games/picture_display.json.jbuilder b/app/views/games/picture_display.json.jbuilder index 2bc88fdf4..8b5271ec5 100644 --- a/app/views/games/picture_display.json.jbuilder +++ b/app/views/games/picture_display.json.jbuilder @@ -26,13 +26,13 @@ elsif @type =="qrcode" json.qrcode_str @qrcode_str elsif @type == "mp3" || @type == "mp4" if @type == "mp4" - json.orignal_file [{"file_url": "http://120.27.231.56:48080/attachments/download/378171/123.mp4"}] - json.user_file [{"file_url": "http://120.27.231.56:48080/attachments/download/378172/456.mp4"}] - json.answer_file [{"file_url": "http://120.27.231.56:48080/attachments/download/378173/789.mp4"}] + json.orignal_file [{"file_url": "http://120.27.231.56:48080/attachments/download/378171"}] + json.user_file [{"file_url": "http://120.27.231.56:48080/attachments/download/378172"}] + json.answer_file [{"file_url": "http://120.27.231.56:48080/attachments/download/378173"}] else - json.orignal_file [{"file_url": "http://120.27.231.56:48080/attachments/download/378174/58099.mp3"}] - json.user_file [{"file_url": "http://120.27.231.56:48080/attachments/download/378175/654058514.mp3"}] - json.answer_file [{"file_url": "http://120.27.231.56:48080/attachments/download/378175/654058514.mp3"}] + json.orignal_file [{"file_url": "http://120.27.231.56:48080/attachments/download/378174"}] + json.user_file [{"file_url": "http://120.27.231.56:48080/attachments/download/378175"}] + json.answer_file [{"file_url": "http://120.27.231.56:48080/attachments/download/378175"}] end # json.orignal_file do # json.array! @orignal_picture do |file|