|
@@ -411,6 +411,7 @@ public class GoGenerateService {
|
|
|
.findFirst()
|
|
.findFirst()
|
|
|
.ifPresent(item -> {
|
|
.ifPresent(item -> {
|
|
|
item.setV(material.content());
|
|
item.setV(material.content());
|
|
|
|
|
+ item.setRemark(material.remark());
|
|
|
}));
|
|
}));
|
|
|
} else {
|
|
} else {
|
|
|
Optional<Item> first = goRequest.getItem().stream()
|
|
Optional<Item> first = goRequest.getItem().stream()
|
|
@@ -637,6 +638,7 @@ public class GoGenerateService {
|
|
|
.findFirst()
|
|
.findFirst()
|
|
|
.ifPresent(item -> {
|
|
.ifPresent(item -> {
|
|
|
item.setV(material.content());
|
|
item.setV(material.content());
|
|
|
|
|
+ item.setRemark(material.remark());
|
|
|
}));
|
|
}));
|
|
|
} else {
|
|
} else {
|
|
|
Optional<Item> first = goRequest.getItem().stream()
|
|
Optional<Item> first = goRequest.getItem().stream()
|
|
@@ -813,7 +815,7 @@ public class GoGenerateService {
|
|
|
private QrcodeInfo getQrcodeInfo(GoRequest goRequest) {
|
|
private QrcodeInfo getQrcodeInfo(GoRequest goRequest) {
|
|
|
Optional<Item> first = goRequest.getItem().stream().filter(ff -> "cover".equals(ff.getT()) ).findFirst();
|
|
Optional<Item> first = goRequest.getItem().stream().filter(ff -> "cover".equals(ff.getT()) ).findFirst();
|
|
|
Optional<Item> first3 = goRequest.getItem().stream().filter(ff -> "title".equals(ff.getT())).findFirst();
|
|
Optional<Item> first3 = goRequest.getItem().stream().filter(ff -> "title".equals(ff.getT())).findFirst();
|
|
|
- QrcodeInfo qrcodeInfo = new QrcodeInfo(null,first.isPresent()?first.get().getV():"",first3.isPresent()?first3.get().getV():"");
|
|
|
|
|
|
|
+ QrcodeInfo qrcodeInfo = new QrcodeInfo(null,first.isPresent()?first.get().getV():"",first3.isPresent()?first3.get().getV():"",first3.isPresent()?first3.get().getRemark():"");
|
|
|
return qrcodeInfo;
|
|
return qrcodeInfo;
|
|
|
}
|
|
}
|
|
|
@Value("${go.data.contactWay}")
|
|
@Value("${go.data.contactWay}")
|
|
@@ -1438,7 +1440,10 @@ public class GoGenerateService {
|
|
|
String string = RandomUtil.randomString("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", 6);
|
|
String string = RandomUtil.randomString("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", 6);
|
|
|
return string;
|
|
return string;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ public String get7Str() {
|
|
|
|
|
+ String string = RandomUtil.randomString("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", 7);
|
|
|
|
|
+ return string;
|
|
|
|
|
+ }
|
|
|
private Mono<Poster> getPosterResMono1(Mono<PosterRequest> insert, Mono<String> stringMono) {
|
|
private Mono<Poster> getPosterResMono1(Mono<PosterRequest> insert, Mono<String> stringMono) {
|
|
|
Mono<Poster> zip = Mono.zip(insert, stringMono, (entry, ret) -> {
|
|
Mono<Poster> zip = Mono.zip(insert, stringMono, (entry, ret) -> {
|
|
|
JSONObject jsonObject1 = JSONUtil.parseObj(ret);
|
|
JSONObject jsonObject1 = JSONUtil.parseObj(ret);
|