AppPay支付缺少partnerId字段。
This commit is contained in:
parent
ffcbf75f18
commit
e9cd349c8c
@ -61,6 +61,14 @@ public class PayRequest extends PayBaseInfo {
|
||||
this.prepayId = prepayId;
|
||||
}
|
||||
|
||||
public String getPartnerId() {
|
||||
return partnerId;
|
||||
}
|
||||
|
||||
public void setPartnerId(String partnerId) {
|
||||
this.partnerId = partnerId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "package" + packageInfo + ", prepayId=" + prepayId
|
||||
|
||||
@ -35,6 +35,7 @@ public class APPPayRequest extends AbstractPayRequest {
|
||||
public PayRequest toRequestObject() {
|
||||
PayRequest payRequest = new PayRequest(getPaymentAccount().getId(),
|
||||
"Sign=WXPay");
|
||||
payRequest.setPartnerId(getPaymentAccount().getPartnerId());
|
||||
payRequest.setPrepayId(getPrePayId());
|
||||
return payRequest;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user