|
@@ -376,21 +376,22 @@ public class StartApiTest {
|
|
user.setPhoneMd5("b5500dfab55f42b340d31326561e16cb");
|
|
user.setPhoneMd5("b5500dfab55f42b340d31326561e16cb");
|
|
user.setCityAllName("重庆市");
|
|
user.setCityAllName("重庆市");
|
|
user.setCompanyCity("重庆");
|
|
user.setCompanyCity("重庆");
|
|
|
|
+ user.setUserMobile("18385143735");
|
|
|
|
|
|
CheckIntoParamDto checkin =new CheckIntoParamDto();
|
|
CheckIntoParamDto checkin =new CheckIntoParamDto();
|
|
-// ProductBusinessApiInfoDo apiInfoByRedis = productBusinessApiInfoService.getApiInfoByRedis(1491);
|
|
|
|
- List<ProductBusinessApiInfoDo> productBusinessApiInfoDos = productBusinessApiInfoService.apiList();
|
|
|
|
- for (ProductBusinessApiInfoDo productBusinessApiInfoDo : productBusinessApiInfoDos) {
|
|
|
|
|
|
+ ProductBusinessApiInfoDo apiInfoByRedis = productBusinessApiInfoService.getApiInfoByRedis(1492);
|
|
|
|
+// List<ProductBusinessApiInfoDo> productBusinessApiInfoDos = productBusinessApiInfoService.apiList();
|
|
|
|
+// for (ProductBusinessApiInfoDo productBusinessApiInfoDo : productBusinessApiInfoDos) {
|
|
// ExecutorService executorService= Executors.newFixedThreadPool(75);
|
|
// ExecutorService executorService= Executors.newFixedThreadPool(75);
|
|
// executorService.execute(()->{
|
|
// executorService.execute(()->{
|
|
PlanDto plan =new PlanDto();
|
|
PlanDto plan =new PlanDto();
|
|
- plan.setApiId(productBusinessApiInfoDo.getId());
|
|
|
|
|
|
+ plan.setApiId(apiInfoByRedis.getId());
|
|
plan.setBid("aff1c7b30d8b240826030235business");
|
|
plan.setBid("aff1c7b30d8b240826030235business");
|
|
checkin.setPlan(plan);
|
|
checkin.setPlan(plan);
|
|
checkin.setUser(user);
|
|
checkin.setUser(user);
|
|
apiRouteService.loanCheckInto(checkin);
|
|
apiRouteService.loanCheckInto(checkin);
|
|
// });
|
|
// });
|
|
- }
|
|
|
|
|
|
+// }
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|