update添加在途金额字段

This commit is contained in:
Guoqs
2025-10-15 15:59:40 +08:00
parent b7c3e35144
commit 8fa310acf8
2 changed files with 9 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ import com.jsowell.adapay.factory.AdapayConfigFactory;
import com.jsowell.adapay.operation.PaymentReverseOperation;
import com.jsowell.adapay.response.*;
import com.jsowell.adapay.service.AdapayService;
import com.jsowell.adapay.vo.AdapayAccountBalanceVO;
import com.jsowell.adapay.vo.AdapayCorpMemberVO;
import com.jsowell.adapay.vo.DrawCashDetailVO;
import com.jsowell.adapay.vo.PaymentInfo;
@@ -121,7 +122,7 @@ import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.ThreadFactory;
import java.util.stream.Collectors;
@ActiveProfiles("dev")
@ActiveProfiles("pre")
@SpringBootTest(classes = JsowellApplication.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@RunWith(SpringRunner.class)
public class SpringBootTestController {
@@ -309,6 +310,12 @@ public class SpringBootTestController {
private final ScheduledExecutorService scheduledExecutorService = Executors.newScheduledThreadPool(10, JsowellThreadFactory.forName("test-thread-factory"));
@Test
public void queryAdapayAccountBalanceTest() throws BaseAdaPayException {
AdapayAccountBalanceVO adapayAccountBalanceVO = adapayService.queryAdapayAccountBalance("459");
System.out.println(adapayAccountBalanceVO);
}
@Test
public void testBatteryReport() throws InterruptedException {
String orderCode = "C25787997784";