fix:【mall】优惠劵:相关的判断不对,关联 https://t.zsxq.com/fYaKv

This commit is contained in:
YunaiV
2025-12-27 21:41:46 +08:00
parent 291d705307
commit f922d3fd55
4 changed files with 31 additions and 7 deletions

View File

@@ -106,13 +106,6 @@
<dependency>
<groupId>com.alipay.sdk</groupId>
<artifactId>alipay-sdk-java</artifactId>
<version>4.35.79.ALL</version>
<exclusions>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.github.binarywang</groupId>

View File

@@ -234,6 +234,10 @@ public abstract class AbstractAlipayPayClient extends AbstractPayClient<AlipayPa
if (reqDTO.getChannelExtras() != null) {
model.setBusinessParams(JsonUtils.toJsonString(reqDTO.getChannelExtras()));
}
String sceneName = MapUtil.getStr(reqDTO.getChannelExtras(), "sceneName");
if (StrUtil.isNotBlank(sceneName)) {
model.setTransferSceneName(sceneName);
}
// ② 个性化的参数
Participant payeeInfo = new Participant();
payeeInfo.setIdentityType("ALIPAY_LOGON_ID"); // 暂时只考虑转账到支付宝,银行没有权限 https://opendocs.alipay.com/open/02byvc?scene=66dd06f5a923403393b85de68d3c0055