mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
微信订单支付回掉功能完善
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user