From a21e7c0c99e35481c0b352763e0f7987eef742bf Mon Sep 17 00:00:00 2001 From: liujie <liujie> Date: 星期一, 23 十月 2023 09:45:10 +0800 Subject: [PATCH] 10.23bug2 --- cloud-server-other/src/main/java/com/dsh/other/util/PayMoneyUtil.java | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cloud-server-other/src/main/java/com/dsh/other/util/PayMoneyUtil.java b/cloud-server-other/src/main/java/com/dsh/other/util/PayMoneyUtil.java index b0aef0f..5a5e6ad 100644 --- a/cloud-server-other/src/main/java/com/dsh/other/util/PayMoneyUtil.java +++ b/cloud-server-other/src/main/java/com/dsh/other/util/PayMoneyUtil.java @@ -12,6 +12,7 @@ import com.alipay.api.domain.RoyaltyInfo; import com.alipay.api.request.*; import com.alipay.api.response.*; +import lombok.Synchronized; import org.apache.commons.collections.map.HashedMap; import org.bouncycastle.jce.provider.BouncyCastleProvider; import org.dom4j.Document; @@ -76,6 +77,7 @@ /** * 支付宝支付 */ + public ResultUtil alipay(String body, String subject, String passbackParams, String outTradeNo, String amount, String notifyUrl){ // //构造client // CertAlipayRequest certAlipayRequest = new CertAlipayRequest (); @@ -147,6 +149,7 @@ + //分账 // Integer coursePackagePayments = coursePackageClient.queryByCode(outTradeNo); // Integer paymentCompetitions = competitionsClient.queryByCode(outTradeNo); @@ -161,10 +164,9 @@ // String alipayProportion = operatorUser.getAlipayProportion(); // String alipayNum = operatorUser.getAlipayNum(); - ExtendParams extendParams = new ExtendParams(); // extendParams.setSysServiceProviderId("YOUR_SERVICE_PROVIDER_ID"); + ExtendParams extendParams = new ExtendParams(); model.setExtendParams(extendParams); - RoyaltyInfo royaltyInfo = new RoyaltyInfo(); // royaltyInfo.setRoyaltyType("transfer"); -- Gitblit v1.7.1