|
@@ -3,6 +3,7 @@ package com.ym.mec.thirdparty.adapay2;
|
|
|
import com.huifu.adapay.Adapay;
|
|
|
import com.huifu.adapay.model.MerConfig;
|
|
|
|
|
|
+import java.util.HashMap;
|
|
|
import java.util.Map;
|
|
|
|
|
|
/**
|
|
@@ -21,11 +22,40 @@ public class MainDemo {
|
|
|
|
|
|
|
|
|
public static void testMerchant() throws Exception {
|
|
|
- //Payment.closePayment("002112020062910440410123507019803422720");
|
|
|
+
|
|
|
+// HashMap<String, Object> memberParams = new HashMap<>();
|
|
|
+// memberParams.put("member_id", "W004201");
|
|
|
+// memberParams.put("order_no", "corp_mem_" + System.currentTimeMillis());
|
|
|
+//
|
|
|
+// memberParams.put("social_credit_code", "91420106303461541T");
|
|
|
+// memberParams.put("social_credit_code_expires", "20440730");
|
|
|
+// memberParams.put("business_scope", "教育资讯、投资资讯");
|
|
|
+// memberParams.put("name", "武汉大雅乐盟教育咨询有限公司");
|
|
|
+// memberParams.put("prov_code", "0042");
|
|
|
+// memberParams.put("area_code", "4201");
|
|
|
+// memberParams.put("legal_person", "李松");
|
|
|
+// memberParams.put("legal_cert_id", "420106196811210837");
|
|
|
+// memberParams.put("legal_cert_id_expires", "20990730");
|
|
|
+// memberParams.put("legal_mp", "13958465215");//法人手机号
|
|
|
+// memberParams.put("address", "武昌区水果湖汉街武汉中央文化旅游区K3地块第2幢34层2号");
|
|
|
+// memberParams.put("zip_code", "430000");
|
|
|
+// //memberParams.put("telphone", "41164452");
|
|
|
+// // memberParams.put("email", "ceshi@qq.com");
|
|
|
+// memberParams.put("bank_code", "03020000");
|
|
|
+// memberParams.put("bank_acct_type", "1");
|
|
|
+// memberParams.put("card_no", "‘8111501011700649152");
|
|
|
+// memberParams.put("card_name", "武汉大雅");
|
|
|
+// new CorpMember().executeCreateMember(memberParams);
|
|
|
+
|
|
|
+ new CorpMember().executeQueryMember("W004201");
|
|
|
+
|
|
|
+
|
|
|
+ //Payment.closePayment("002112020062916385810123596334923411456");
|
|
|
+ //Map<String, Object> payment = Payment.queryPayment("002112020062914502410123569011751485440");
|
|
|
|
|
|
|
|
|
// 运行支付类接口
|
|
|
- String pamentId = Payment.executePaymentTest("default");
|
|
|
+ //String pamentId = Payment.executePaymentTest("default");
|
|
|
|
|
|
}
|
|
|
|