diff --git a/jsowell-admin/src/test/java/SpringBootTestController.java b/jsowell-admin/src/test/java/SpringBootTestController.java index e98b278d0..ff9cdf6a3 100644 --- a/jsowell-admin/src/test/java/SpringBootTestController.java +++ b/jsowell-admin/src/test/java/SpringBootTestController.java @@ -48,7 +48,6 @@ import com.jsowell.netty.handler.TransactionRecordsRequestHandler; import com.jsowell.netty.service.camera.impl.CameraBusinessServiceImpl; import com.jsowell.netty.service.yunkuaichong.YKCBusinessService; import com.jsowell.pile.domain.*; -import com.jsowell.pile.domain.huawei.HWStationInfo; import com.jsowell.pile.domain.ykcCommond.IssueQRCodeCommand; import com.jsowell.pile.domain.ykcCommond.ProofreadTimeCommand; import com.jsowell.pile.dto.*; @@ -631,30 +630,35 @@ public class SpringBootTestController { System.out.println(response); } + /** + * 【用户需要换绑银行卡 1-删除结算账户信息,2-使用新账户信息创建结算账户】 + * 删除结算账户信息 + * @throws BaseAdaPayException + */ + @Test + public void createDeleteSettleAccountRequestTest() throws BaseAdaPayException { + String adapayMemberId = "ACM82792551"; + String settleAccountId = "0523453573196672"; + adapayService.createDeleteSettleAccountRequest(adapayMemberId, settleAccountId, wechatAppId1); + } + /** * 手动变更银行卡信息 */ @Test public void createSettleAccountRequestTest() throws BaseAdaPayException { SettleAccountDTO dto = new SettleAccountDTO(); - dto.setCardId("398899991013000296800"); - dto.setCardName("瑞桩(宿迁)新能源科技有限公司"); - dto.setTelNo("16652725453"); - dto.setBankCode("03010000"); + dto.setCardId("45050160425000000627"); + dto.setCardName("广西昂晟节能科技有限公司"); + dto.setTelNo("19163816451"); + dto.setBankCode("01050000"); dto.setBankAcctType("1"); - dto.setProvCode("0032"); - dto.setAreaCode("3207"); - String adapayMemberId = "ACM84693947"; + dto.setProvCode("0045"); + dto.setAreaCode("4501"); + String adapayMemberId = "ACM82792551"; adapayService.createSettleAccountRequest(dto, adapayMemberId, wechatAppId1); } - @Test - public void createDeleteSettleAccountRequestTest() throws BaseAdaPayException { - String adapayMemberId = "ACM84693947"; - String settleAccountId = "0561354988505792"; - adapayService.createDeleteSettleAccountRequest(adapayMemberId, settleAccountId, wechatAppId1); - } - @Test public void queryDrawcashDetailTest() throws BaseAdaPayException { String orderNo = "drawcash_1692339516947";