测试时,支付1毛钱

This commit is contained in:
2025-08-22 17:23:30 +08:00
parent 234eee6ae4
commit e00e4caa7d

View File

@ -175,7 +175,8 @@ public class OrderServiceImpl implements OrderService {
paymentRequest.setAttach(companyStoreDTO.getOperatingCompanyId().toString()); paymentRequest.setAttach(companyStoreDTO.getOperatingCompanyId().toString());
paymentRequest.setSpbillCreateIp("127.0.0.1"); paymentRequest.setSpbillCreateIp("127.0.0.1");
paymentRequest.setBody(rentCarRuleDTO.getRuleName()); paymentRequest.setBody(rentCarRuleDTO.getRuleName());
paymentRequest.setTotalFee(orderMainPO.getOrderAmount().multiply(new BigDecimal(100)).intValue()); // paymentRequest.setTotalFee(orderMainPO.getOrderAmount().multiply(new BigDecimal(100)).intValue());
paymentRequest.setTotalFee(10);
unifiedPaymentInfoDTO = payInteg.unifiedOrder(paymentRequest); unifiedPaymentInfoDTO = payInteg.unifiedOrder(paymentRequest);
// TODO 其他支付类型 // TODO 其他支付类型
} }