Commit f6a9ecc8 authored by 黎博's avatar 黎博

debug

parent d2a502c4
...@@ -64,7 +64,7 @@ public class PayInterceptor implements HandlerInterceptor { ...@@ -64,7 +64,7 @@ public class PayInterceptor implements HandlerInterceptor {
EncryptConvertor encryptConvertor = EncryptFactory.produce("yeebao"); EncryptConvertor encryptConvertor = EncryptFactory.produce("yeebao");
Map<String, Object> requestMap = JsonTransUtils.strToMap(encryptConvertor.decrypt(getRequestBody(request))); Map<String, Object> requestMap = JsonTransUtils.strToMap(encryptConvertor.decrypt(getRequestBody(request)));
Map<String, Object> responseMap = new HashMap<>(); Map<String, Object> responseMap = new HashMap<>();
if (uri.equals("/tzt-api/api/bankcard/check")) { if (uri.equals("/mock/tzt-api/api/bankcard/check")) {
responseMap.put("bankCode", "ABC"); responseMap.put("bankCode", "ABC");
responseMap.put("bankName", "中国农业银行"); responseMap.put("bankName", "中国农业银行");
responseMap.put("cardTop", "622827"); responseMap.put("cardTop", "622827");
......
...@@ -17,10 +17,10 @@ import java.util.List; ...@@ -17,10 +17,10 @@ import java.util.List;
import java.util.Map; import java.util.Map;
public class Xyqb { public class Xyqb {
public static String namespace = "vcc2"; public static String namespace = "vcc3";
public static Integer channelId = 1; public static Integer channelId = 1;
public static Integer fundId = 480; public static Integer fundId = 480;
public static String phone = "18300000120"; public static String phone = "13502760991";
public static String token = ""; public static String token = "";
public static String uuid = ""; public static String uuid = "";
public static Long userId; public static Long userId;
...@@ -664,34 +664,34 @@ public class Xyqb { ...@@ -664,34 +664,34 @@ public class Xyqb {
public static void main(String[] args) throws Exception { public static void main(String[] args) throws Exception {
// 分配资金方 // 分配资金方
loginFundOP(); // loginFundOP();
unblockLoan(); // unblockLoan();
boolean result = assignFundOrNot(); // boolean result = assignFundOrNot();
if (!result) { // if (!result) {
setFundPlan(); // setFundPlan();
unblockLoan(); // unblockLoan();
} // }
//
// 授信 //// 授信
login(); // login();
checkUserId(); // checkUserId();
// 如果是云信,则需要插入银行卡 // // 如果是云信,则需要插入银行卡
if (fundId == 1040) { // if (fundId == 1040) {
insertBankCardOfYunxing(); // insertBankCardOfYunxing();
} // }
syncSessionToXyqb(); // syncSessionToXyqb();
creditSessionSync(); // creditSessionSync();
realNameVerified(); // realNameVerified();
authBasicInfo(); // authBasicInfo();
enterAuthOcr(); // enterAuthOcr();
uploadFrontOfIdCard(); // uploadFrontOfIdCard();
uploadBackOfIdCard(); // uploadBackOfIdCard();
submitPhotoAuth(); // submitPhotoAuth();
credit(); // credit();
submitAudit(); // submitAudit();
queryUserAuditRecord(); // queryUserAuditRecord();
creditAuthNotify(); // creditAuthNotify();
Thread.sleep(180000); // Thread.sleep(180000);
// 绑卡提现 // 绑卡提现
login(); login();
...@@ -701,21 +701,21 @@ public class Xyqb { ...@@ -701,21 +701,21 @@ public class Xyqb {
getUserAccountId(); getUserAccountId();
bindCard(); bindCard();
cardAuthSms(); cardAuthSms();
cardAuthSmsConfirm(); // cardAuthSmsConfirm();
getBindCardList(); // getBindCardList();
createLoan(); // createLoan();
externalQuotaOrderAuditNotify(); // externalQuotaOrderAuditNotify();
modifyContactStatus(); // modifyContactStatus();
Thread.sleep(10000); // Thread.sleep(10000);
// 放款 // // 放款
loginOP(); // loginOP();
checkWaitingFundingCorpOperatePeople(); // checkWaitingFundingCorpOperatePeople();
modifyWaitingFundingCreatedAt(); // modifyWaitingFundingCreatedAt();
Thread.sleep(10000); // Thread.sleep(10000);
fundsPlanLoanApply(); // fundsPlanLoanApply();
Thread.sleep(10000); // Thread.sleep(10000);
payNotify(); // payNotify();
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment