diff --git a/common/src/main/java/com/yunbao/common/bean/UserBean.java b/common/src/main/java/com/yunbao/common/bean/UserBean.java index c314124d7..fdd9df4f4 100644 --- a/common/src/main/java/com/yunbao/common/bean/UserBean.java +++ b/common/src/main/java/com/yunbao/common/bean/UserBean.java @@ -54,6 +54,7 @@ public class UserBean implements Parcelable { private String token_rong = ""; private String noble_end_time; private String slide; + private String slide_pic; private String users_type; private String is_bind; private String mobile; @@ -272,6 +273,14 @@ public class UserBean implements Parcelable { return slide; } + public String getSlide_pic() { + return slide_pic; + } + + public void setSlide_pic(String slide_pic) { + this.slide_pic = slide_pic; + } + public void setSlide(String slide) { this.slide = slide; } diff --git a/main/src/main/java/com/yunbao/main/views/MainMeViewHolder.java b/main/src/main/java/com/yunbao/main/views/MainMeViewHolder.java index 7d8a1a806..061600a84 100644 --- a/main/src/main/java/com/yunbao/main/views/MainMeViewHolder.java +++ b/main/src/main/java/com/yunbao/main/views/MainMeViewHolder.java @@ -314,8 +314,8 @@ public class MainMeViewHolder extends AbsMainViewHolder implements OnItemClickLi private void showData(UserBean u, List> list) { mBannerList.clear(); mBannerListNew.clear(); - if (!StringUtil.isEmpty(u.getSlide())) { - mBannerListNew.addAll(JSON.parseArray(u.getSlide(), SlideBean.class)); + if (!StringUtil.isEmpty(u.getSlide_pic())) { + mBannerListNew.addAll(JSON.parseArray(u.getSlide_pic(), SlideBean.class)); for (SlideBean bean : mBannerListNew) { if (bean.getSlide_status().equals("1")) { mBannerList.add(bean);