附加信息

This commit is contained in:
egzosn
2018-11-12 20:31:56 +08:00
parent 37facbb952
commit ab7f2437f5
3 changed files with 63 additions and 16 deletions

View File

@@ -179,10 +179,12 @@ public class AliPayService extends BasePayService<AliPayConfigStorage> {
switch ((AliTransactionType) order.getTransactionType()) {
case PAGE:
case DIRECT:
bizContent.put("passback_params", order.getAddition());
bizContent.put("product_code", "FAST_INSTANT_TRADE_PAY");
orderInfo.put("return_url", payConfigStorage.getReturnUrl());
break;
case WAP:
bizContent.put("passback_params", order.getAddition());
bizContent.put("product_code", "QUICK_WAP_PAY");
orderInfo.put("return_url", payConfigStorage.getReturnUrl());
break;