From a6b03ed9f17fb884508ace873697fe376c2a0980 Mon Sep 17 00:00:00 2001 From: yuanke <249218296@qq.com> Date: Thu, 8 Sep 2016 18:53:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E5=A4=B4=E5=83=8F=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/mobile/entities/user.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/api/mobile/entities/user.rb b/app/api/mobile/entities/user.rb index f4fc7cb66..5c6b95771 100644 --- a/app/api/mobile/entities/user.rb +++ b/app/api/mobile/entities/user.rb @@ -13,8 +13,7 @@ module Mobile else case f when :img_url - "/images/#{url_to_avatar(u)}"+"?t="+Time.now.to_i.to_s - #Time.now.strftime('%Y-%m-%d') + "/images/#{url_to_avatar(u)}"+"?t="+Time.now.strftime('%Y-%m-%d') when :gender u.nil? || u.user_extensions.nil? || u.user_extensions.gender.nil? ? 0 : u.user_extensions.gender when :work_unit