替换新的送礼物接口

This commit is contained in:
ningwenqiang 2024-10-22 17:19:29 +08:00
parent 5c369f7215
commit 461a985799

View File

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