fixed findbugs
This commit is contained in:
parent
3e624662d0
commit
01ba9bc643
@ -12,5 +12,7 @@ import com.foxinmy.weixin4j.http.entity.HttpEntity;
|
||||
* @see
|
||||
*/
|
||||
public abstract class HttpEntityRequest extends AbstractHttpRequest {
|
||||
public abstract void setEntity(HttpEntity entity);
|
||||
|
||||
public abstract HttpEntity getEntity();
|
||||
}
|
||||
|
||||
@ -42,7 +42,8 @@ public class HttpPost extends HttpEntityRequest {
|
||||
return entity;
|
||||
}
|
||||
|
||||
public void setEntity(HttpEntity httpEntity) {
|
||||
this.entity = httpEntity;
|
||||
@Override
|
||||
public void setEntity(HttpEntity entity) {
|
||||
this.entity = entity;
|
||||
}
|
||||
}
|
||||
|
||||
@ -54,6 +54,7 @@ public class RedpacketRecord extends XmlResult {
|
||||
/**
|
||||
* 红包状态
|
||||
*/
|
||||
@XmlElement(name = "status")
|
||||
private RedpacketStatus status;
|
||||
/**
|
||||
* 发放类型
|
||||
@ -82,6 +83,7 @@ public class RedpacketRecord extends XmlResult {
|
||||
/**
|
||||
* 发送失败原因
|
||||
*/
|
||||
@XmlElement(name = "reason")
|
||||
private String reason;
|
||||
/**
|
||||
* 发放时间
|
||||
@ -104,10 +106,12 @@ public class RedpacketRecord extends XmlResult {
|
||||
/**
|
||||
* 祝福语
|
||||
*/
|
||||
@XmlElement(name = "wishing")
|
||||
private String wishing;
|
||||
/**
|
||||
* 活动描述
|
||||
*/
|
||||
@XmlElement(name = "remark")
|
||||
private String remark;
|
||||
/**
|
||||
* 活动名称
|
||||
@ -229,10 +233,12 @@ public class RedpacketRecord extends XmlResult {
|
||||
/**
|
||||
* 领取红包的Openid
|
||||
*/
|
||||
@XmlElement(name = "openid")
|
||||
private String openid;
|
||||
/**
|
||||
* 领取状态
|
||||
*/
|
||||
@XmlElement(name = "status")
|
||||
private RedpacketStatus status;
|
||||
/**
|
||||
* 领取金额
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user