fix:修复日榜周榜没有显示头像框的问题

This commit is contained in:
zlzw 2022-09-02 14:19:05 +08:00
parent c25de1d25e
commit 4ff3ae3269

View File

@ -310,8 +310,12 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
}
for (Object o : rank) {
JSONObject item= (JSONObject) o;
UserBean.DressBean dressBean=new UserBean.DressBean();
dressBean.setAvatar_frame(item.getString("dressHead"));
dressBean.setMedal("");
LiveUserRankBean bean=JSON.parseObject(item.getString("userinfo"),LiveUserRankBean.class);
bean.setTotal(item.getLong("total"));
bean.setDress(dressBean);
data.add(bean);
}
if(data.size()==0){