Commit f6a9ecc8 authored by 黎博's avatar 黎博

debug

parent d2a502c4
......@@ -64,7 +64,7 @@ public class PayInterceptor implements HandlerInterceptor {
EncryptConvertor encryptConvertor = EncryptFactory.produce("yeebao");
Map<String, Object> requestMap = JsonTransUtils.strToMap(encryptConvertor.decrypt(getRequestBody(request)));
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("bankName", "中国农业银行");
responseMap.put("cardTop", "622827");
......
......@@ -17,10 +17,10 @@ import java.util.List;
import java.util.Map;
public class Xyqb {
public static String namespace = "vcc2";
public static String namespace = "vcc3";
public static Integer channelId = 1;
public static Integer fundId = 480;
public static String phone = "18300000120";
public static String phone = "13502760991";
public static String token = "";
public static String uuid = "";
public static Long userId;
......@@ -664,34 +664,34 @@ public class Xyqb {
public static void main(String[] args) throws Exception {
// 分配资金方
loginFundOP();
unblockLoan();
boolean result = assignFundOrNot();
if (!result) {
setFundPlan();
unblockLoan();
}
// 授信
login();
checkUserId();
// 如果是云信,则需要插入银行卡
if (fundId == 1040) {
insertBankCardOfYunxing();
}
syncSessionToXyqb();
creditSessionSync();
realNameVerified();
authBasicInfo();
enterAuthOcr();
uploadFrontOfIdCard();
uploadBackOfIdCard();
submitPhotoAuth();
credit();
submitAudit();
queryUserAuditRecord();
creditAuthNotify();
Thread.sleep(180000);
// loginFundOP();
// unblockLoan();
// boolean result = assignFundOrNot();
// if (!result) {
// setFundPlan();
// unblockLoan();
// }
//
//// 授信
// login();
// checkUserId();
// // 如果是云信,则需要插入银行卡
// if (fundId == 1040) {
// insertBankCardOfYunxing();
// }
// syncSessionToXyqb();
// creditSessionSync();
// realNameVerified();
// authBasicInfo();
// enterAuthOcr();
// uploadFrontOfIdCard();
// uploadBackOfIdCard();
// submitPhotoAuth();
// credit();
// submitAudit();
// queryUserAuditRecord();
// creditAuthNotify();
// Thread.sleep(180000);
// 绑卡提现
login();
......@@ -701,21 +701,21 @@ public class Xyqb {
getUserAccountId();
bindCard();
cardAuthSms();
cardAuthSmsConfirm();
getBindCardList();
createLoan();
externalQuotaOrderAuditNotify();
modifyContactStatus();
Thread.sleep(10000);
// 放款
loginOP();
checkWaitingFundingCorpOperatePeople();
modifyWaitingFundingCreatedAt();
Thread.sleep(10000);
fundsPlanLoanApply();
Thread.sleep(10000);
payNotify();
// cardAuthSmsConfirm();
// getBindCardList();
// createLoan();
// externalQuotaOrderAuditNotify();
// modifyContactStatus();
// Thread.sleep(10000);
// // 放款
// loginOP();
// checkWaitingFundingCorpOperatePeople();
// modifyWaitingFundingCreatedAt();
// Thread.sleep(10000);
// fundsPlanLoanApply();
// Thread.sleep(10000);
// 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