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