换绑银行卡接口

This commit is contained in:
2024-01-19 16:59:54 +08:00
parent d4867ed570
commit 5b63bf7f93
5 changed files with 89 additions and 14 deletions

View File

@@ -26,6 +26,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.AdapayCorpMemberVO;
import com.jsowell.adapay.vo.DrawCashDetailVO;
import com.jsowell.common.constant.CacheConstants;
import com.jsowell.common.constant.Constants;
@@ -2346,14 +2347,17 @@ public class SpringBootTestController {
}
/**
* 查询汇付会员信息
*/
@Test
public void testQueryAdapayMemberInfo() {
String adapayMemberId = "AM25703321";
String settleAccountId = "0489089447022976";
String adapayMemberId = "ACM82792551";
String settleAccountId = null;
try {
// adapayMemberService.queryAdapayMemberInfo(adapayMemberId);
adapayService.queryAdapaySettleAccount(adapayMemberId, settleAccountId, "");
AdapayCorpMemberVO adapayCorpMemberVO = adapayService.queryCorpAdapayMemberInfo(adapayMemberId, wechatAppId1);
// AdapaySettleAccountVO vo = adapayService.queryAdapaySettleAccount(adapayMemberId, settleAccountId, wechatAppId1);
System.out.println(JSON.toJSONString(adapayCorpMemberVO));
} catch (BaseAdaPayException e) {
throw new RuntimeException(e);
}