|
|
@@ -131,16 +131,16 @@ public class PlanNewOutController {
|
|
|
.and("status").is(1).and("type").is(type)), DomainSelect.class)
|
|
|
.switchIfEmpty(Mono.error(new BaseException("查询domain 返回结果为空")))
|
|
|
.onErrorResume(throwable -> Mono.error(new Exception(throwable.getMessage()))).collectList().flatMap(fm -> {
|
|
|
- DomainSelectRes domainSelectRes = new DomainSelectRes();
|
|
|
+ // DomainSelectRes domainSelectRes = new DomainSelectRes();
|
|
|
int i = RandomUtil.randomInt(0, fm.size());
|
|
|
String domain = fm.get(i).domain();
|
|
|
String string = RandomUtil.randomString("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", 6);
|
|
|
- domainSelectRes.setBackgroupDomain(f.backgroupDomain());
|
|
|
- domainSelectRes.setTransferPageDomain(f.transferPageDomain());
|
|
|
- domainSelectRes.setTransferPageBl(f.transferPageBl());
|
|
|
- domainSelectRes.setDomain(string + "." + domain);
|
|
|
- domainSelectRes.setPath("");
|
|
|
- domainSelectRes.setUnique(IdUtil.fastSimpleUUID());
|
|
|
+ // domainSelectRes.setBackgroupDomain(f.backgroupDomain());
|
|
|
+ // domainSelectRes.setTransferPageDomain(f.transferPageDomain());
|
|
|
+ // domainSelectRes.setTransferPageBl(f.transferPageBl());
|
|
|
+ // domainSelectRes.setDomain(string + "." + domain);
|
|
|
+ // domainSelectRes.setPath("");
|
|
|
+ // domainSelectRes.setUnique(IdUtil.fastSimpleUUID());
|
|
|
return Mono.just(string + "." + domain);
|
|
|
});
|
|
|
return Mono.zip(stringMono2,stringMono1,stringMono).flatMap(fff->{
|
|
|
@@ -149,6 +149,7 @@ public class PlanNewOutController {
|
|
|
domainSelectRes.setTransferPageBl(f.transferPageBl());
|
|
|
domainSelectRes.setBackgroupDomain(fff.getT2());
|
|
|
domainSelectRes.setTransferPageDomain(fff.getT3());
|
|
|
+ domainSelectRes.setUnique(IdUtil.fastSimpleUUID());
|
|
|
return Mono.just(domainSelectRes);
|
|
|
});
|
|
|
});
|