mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-13 11:49:49 +08:00
update huifu
This commit is contained in:
@@ -16,7 +16,7 @@ public class MainDemo {
|
|||||||
testMerchant();
|
testMerchant();
|
||||||
|
|
||||||
//若是技术性渠道商为其它商户提供服务功能,请使用多商户模式
|
//若是技术性渠道商为其它商户提供服务功能,请使用多商户模式
|
||||||
// testMultiMerchant();
|
testMultiMerchant();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void testMerchant() throws Exception {
|
public static void testMerchant() throws Exception {
|
||||||
@@ -55,18 +55,18 @@ public class MainDemo {
|
|||||||
// 运行支付类接口
|
// 运行支付类接口
|
||||||
// String pamentId = PaymentDemo.executePaymentTest(appId);
|
// String pamentId = PaymentDemo.executePaymentTest(appId);
|
||||||
// 带区域和超时参数的支付请求Demo
|
// 带区域和超时参数的支付请求Demo
|
||||||
String pamentId = PaymentRegionAndRequestTimeOutDemo.executePaymentTest(appId);
|
String pamentId = com.huifu.adapay.demo.PaymentRegionAndRequestTimeOutDemo.executePaymentTest(appId);
|
||||||
|
|
||||||
// //运行退款类接口
|
// //运行退款类接口
|
||||||
// RefundDemo.executeRefundTest("002112020010618571810060213271697731584");
|
// RefundDemo.executeRefundTest("002112020010618571810060213271697731584");
|
||||||
|
|
||||||
// /**用户类接口*/
|
// /**用户类接口*/
|
||||||
Map<String, Object> member = MemberDemo.executeMemberTest(appId);
|
Map<String, Object> member = com.huifu.adapay.demo.MemberDemo.executeMemberTest(appId);
|
||||||
String memberId = (String) member.get("member_id");
|
String memberId = (String) member.get("member_id");
|
||||||
// /** 结算户绑定*/
|
// /** 结算户绑定*/
|
||||||
SettleAccountDemo.executeSettleAccountTest("app_7d87c043-aae3-4357-9b2c-269349a980d6", memberId);
|
com.huifu.adapay.demo.SettleAccountDemo.executeSettleAccountTest("app_7d87c043-aae3-4357-9b2c-269349a980d6", memberId);
|
||||||
/**企业开户*/
|
/**企业开户*/
|
||||||
CorpMemberDemo.executeCorpMemberTest("app_7d87c043-aae3-4357-9b2c-269349a980d6");
|
com.huifu.adapay.demo.CorpMemberDemo.executeCorpMemberTest("app_7d87c043-aae3-4357-9b2c-269349a980d6");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 对账单下载
|
* 对账单下载
|
||||||
@@ -141,7 +141,7 @@ public class MainDemo {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// 运行支付类接口,其中app_id必须是商户A下的app_id
|
// 运行支付类接口,其中app_id必须是商户A下的app_id
|
||||||
String pamentId = PaymentDemo.executePaymentTest("商户A的唯一标识", "app_7d87c043-aae3-4357-9b2c-269349a980d6");
|
String pamentId = com.huifu.adapay.demo.PaymentDemo.executePaymentTest("商户A的唯一标识", "app_7d87c043-aae3-4357-9b2c-269349a980d6");
|
||||||
// String pamentI2 = PaymentDemo.executePaymentTest("yidian", "app_67ba475b-26e0-4cfa-847c-0f115cae5029");
|
// String pamentI2 = PaymentDemo.executePaymentTest("yidian", "app_67ba475b-26e0-4cfa-847c-0f115cae5029");
|
||||||
|
|
||||||
// //运行退款类接口
|
// //运行退款类接口
|
||||||
|
|||||||
Reference in New Issue
Block a user