diff --git a/common/src/main/java/com/yunbao/common/bean/SendFreeGiftBean.java b/common/src/main/java/com/yunbao/common/bean/SendFreeGiftBean.java index fab7d064b..847651d4c 100644 --- a/common/src/main/java/com/yunbao/common/bean/SendFreeGiftBean.java +++ b/common/src/main/java/com/yunbao/common/bean/SendFreeGiftBean.java @@ -2,6 +2,8 @@ package com.yunbao.common.bean; import com.google.gson.annotations.SerializedName; +import java.util.List; + public class SendFreeGiftBean extends BaseModel{ //"code":0,"msg":"","info":[]},"msg":"" @SerializedName("code") @@ -9,7 +11,12 @@ public class SendFreeGiftBean extends BaseModel{ @SerializedName("msg") private String msg; @SerializedName("info") - private String info; + private List info; + + public class Info { + // 其他字段 + } + public int getCode() { return code; @@ -27,11 +34,11 @@ public class SendFreeGiftBean extends BaseModel{ this.msg = msg; } - public String getInfo() { + public List getInfo() { return info; } - public void setInfo(String info) { + public void setInfo(List info) { this.info = info; } }