微信头像刷新修改
This commit is contained in:
parent
5b8ecf6657
commit
a6b03ed9f1
|
@ -13,8 +13,7 @@ module Mobile
|
||||||
else
|
else
|
||||||
case f
|
case f
|
||||||
when :img_url
|
when :img_url
|
||||||
"/images/#{url_to_avatar(u)}"+"?t="+Time.now.to_i.to_s
|
"/images/#{url_to_avatar(u)}"+"?t="+Time.now.strftime('%Y-%m-%d')
|
||||||
#Time.now.strftime('%Y-%m-%d')
|
|
||||||
when :gender
|
when :gender
|
||||||
u.nil? || u.user_extensions.nil? || u.user_extensions.gender.nil? ? 0 : u.user_extensions.gender
|
u.nil? || u.user_extensions.nil? || u.user_extensions.gender.nil? ? 0 : u.user_extensions.gender
|
||||||
when :work_unit
|
when :work_unit
|
||||||
|
|
Loading…
Reference in New Issue