This commit is contained in:
2023-10-27 16:37:04 +08:00
parent 3234590200
commit 64c1e4d2ce
3 changed files with 8 additions and 6 deletions

View File

@@ -669,13 +669,16 @@ public class SpringBootTestController {
System.out.println("=================已分账:" + JSON.toJSONString(successList)); System.out.println("=================已分账:" + JSON.toJSONString(successList));
} }
/**
* 测试分账
*/
@Test @Test
public void test() { public void test() {
String paymentId = "002212023091113071210547174455434940416"; String paymentId = "002212023102616240210563531446717337600";
AdapayMemberAccount adapayMemberAccount = new AdapayMemberAccount(); AdapayMemberAccount adapayMemberAccount = new AdapayMemberAccount();
adapayMemberAccount.setAdapayMemberId("ACM69460507"); adapayMemberAccount.setAdapayMemberId("ACM25158725");
BigDecimal deductionAmount = new BigDecimal("19.9"); BigDecimal deductionAmount = new BigDecimal("12.14");
String orderCode = "C88200971107"; String orderCode = "C63381533584";
String wechatAppId = "wxbb3e0d474569481d"; String wechatAppId = "wxbb3e0d474569481d";
// 延时分账使用确认交易API // 延时分账使用确认交易API
PaymentConfirmResponse paymentConfirmResponse = adapayService.createPaymentConfirmRequest(paymentId, PaymentConfirmResponse paymentConfirmResponse = adapayService.createPaymentConfirmRequest(paymentId,

View File

@@ -24,7 +24,6 @@ public class SMSUtil {
SMSUtil.redisCache = redisCache; SMSUtil.redisCache = redisCache;
} }
// 短信应用SDK AppKey // 短信应用SDK AppKey
private static final String APP_KEY = "8ebcf52de98416814b440891350cd594"; private static final String APP_KEY = "8ebcf52de98416814b440891350cd594";

View File

@@ -21,7 +21,7 @@ public class OrderInvoiceRecordVO {
private String orderCodes; private String orderCodes;
private String status; private String status;
private String createTime; private String createTime;
private String uodateTime; private String updateTime;
private BigDecimal totalAmount; private BigDecimal totalAmount;
private BigDecimal totalServiceAmount; private BigDecimal totalServiceAmount;
private BigDecimal totalElecAmount; private BigDecimal totalElecAmount;