rentCategory

This commit is contained in:
2025-09-28 20:11:07 +08:00
parent 6fdd3d6592
commit 355710b0c4

View File

@ -55,6 +55,9 @@ public class AlipayServiceImpl implements AlipayService {
@Value("${alipay.serviceid}") @Value("${alipay.serviceid}")
private String serviceId ; private String serviceId ;
@Value("${alipay.rent.rentCategory}")
private String rentCategory;
@Autowired @Autowired
private PaymentRecordMapper paymentRecordMapper; private PaymentRecordMapper paymentRecordMapper;
@ -343,7 +346,7 @@ public class AlipayServiceImpl implements AlipayService {
model.setProductCode("PRE_AUTH_ONLINE"); model.setProductCode("PRE_AUTH_ONLINE");
// 设置业务扩展参数 // 设置业务扩展参数
model.setExtraParam("{\"category\": \"CHARGE_PILE_CAR\",\"serviceId\": \""+serviceId+"\"}"); model.setExtraParam("{\"category\": \""+rentCategory+"\",\"serviceId\": \""+serviceId+"\"}");
// 设置免押受理台模式 // 设置免押受理台模式
model.setDepositProductMode("DEPOSIT_ONLY"); model.setDepositProductMode("DEPOSIT_ONLY");