微信订单支付回掉功能完善

This commit is contained in:
aimilin
2016-12-08 20:44:03 +08:00
parent 7a4ca6fc2d
commit 41da9e15a6
18 changed files with 963 additions and 380 deletions

View File

@@ -6,7 +6,8 @@ public class BaseBuilder<T> {
protected String msgType;
protected String toUser;
public T toUser(String toUser) {
@SuppressWarnings("unchecked")
public T toUser(String toUser) {
this.toUser = toUser;
return (T) this;
}

View File

@@ -8,12 +8,14 @@ public abstract class BaseBuilder<BuilderType, ValueType> {
protected String fromUserName;
public BuilderType toUser(String touser) {
@SuppressWarnings("unchecked")
public BuilderType toUser(String touser) {
this.toUserName = touser;
return (BuilderType) this;
}
public BuilderType fromUser(String fromusername) {
@SuppressWarnings("unchecked")
public BuilderType fromUser(String fromusername) {
this.fromUserName = fromusername;
return (BuilderType) this;
}