小程序支付 支付类型
This commit is contained in:
parent
d8a55e2103
commit
e94b578c2d
|
|
@ -51,12 +51,12 @@ public class CzgLtPayReq extends CzgBaseReq {
|
||||||
*/
|
*/
|
||||||
private boolean isScreen;
|
private boolean isScreen;
|
||||||
|
|
||||||
public CzgLtPayReq(@NonNull String mchOrderNo, @NonNull Long amount,@NonNull String payType,
|
public CzgLtPayReq(@NonNull String mchOrderNo, @NonNull Long amount, @NonNull String payType,
|
||||||
String body, @NonNull String openId, @NonNull String clientIp,
|
String body, @NonNull String openId, @NonNull String clientIp,
|
||||||
String returnUrl, String buyerRemark, @NonNull String extParam) {
|
String returnUrl, String buyerRemark, @NonNull String extParam) {
|
||||||
super(mchOrderNo, amount, body, buyerRemark, extParam);
|
super(mchOrderNo, amount, body, buyerRemark, extParam);
|
||||||
this.userId = openId;
|
this.userId = openId;
|
||||||
this.payType = payType;
|
this.payType = "aliPay".equals(payType) ? "ALIPAY" : "WECHAT";
|
||||||
this.clientIp = clientIp;
|
this.clientIp = clientIp;
|
||||||
this.returnUrl = returnUrl;
|
this.returnUrl = returnUrl;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue