zoujiajian 3 lat temu
rodzic
commit
9651790c87

+ 4 - 1
netflix-service/src/main/java/com/cyksj/service/pay/impl/AliPayCommonServiceImpl.java

@@ -83,6 +83,7 @@ public class AliPayCommonServiceImpl implements AliPayCommonService {
 		}
 		String subject = "注册服务";
 		AliPayParams aliPayParams = builderPayParams(orderDon.getId(),
+				orderDon.getOrderNo(),
 				orderDon.getShopId(),
 				orderDon.getMoney(),
 				orderDon.getCreatedTime(),
@@ -119,6 +120,7 @@ public class AliPayCommonServiceImpl implements AliPayCommonService {
 			returnUrl = String.format("%s%s", envCommonService.getDomain(), BaseZfbConfig.loginReturnUrl);
 		}
 		AliPayParams aliPayParams = builderPayParams(orderDon.getId(),
+				orderDon.getOrderNo(),
 				orderDon.getShopId(),
 				orderDon.getMoney(),
 				orderDon.getCreatedTime(),
@@ -130,10 +132,11 @@ public class AliPayCommonServiceImpl implements AliPayCommonService {
 		return aliPayParams;
 	}
 
-	public AliPayParams builderPayParams(Long orderId, String shopId, BigDecimal money, Date orderCreatedTime, String subject, String productCode, String payMode, String notifyUrl, String returnUrl) throws Exception {
+	public AliPayParams builderPayParams(Long orderId, String orderNo, String shopId, BigDecimal money, Date orderCreatedTime, String subject, String productCode, String payMode, String notifyUrl, String returnUrl) throws Exception {
 		OrderPayBuilderDto orderPayBuilderDto = new OrderPayBuilderDto();
 		orderPayBuilderDto.setOrderId(orderId);
 		orderPayBuilderDto.setMoney(money);
+		orderPayBuilderDto.setOrderNo(orderNo);
 		orderPayBuilderDto.setSubject(subject);
 		orderPayBuilderDto.setOrderCreatedTime(orderCreatedTime);
 		orderPayBuilderDto.setProductCode(productCode);