|
|
@@ -706,12 +706,7 @@ public class PlanNewCommonOutController {
|
|
|
// Mono<byte[]> res = resMono1.flatMap(f -> Mono.just(Objects.requireNonNull(this.compressData(JSONUtil.toJsonStr(f)))));
|
|
|
return RStatus.successList(resMono1);
|
|
|
}
|
|
|
- private QrcodeInfo getQrcodeInfo(GoRequest goRequest) {
|
|
|
- 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();
|
|
|
- QrcodeInfo qrcodeInfo = new QrcodeInfo(null,first.isPresent()?first.get().getV():"",first3.isPresent()?first3.get().getV():"");
|
|
|
- return qrcodeInfo;
|
|
|
- }
|
|
|
+
|
|
|
/**
|
|
|
* 设置二维码 生成图片
|
|
|
*/
|
|
|
@@ -732,7 +727,7 @@ public class PlanNewCommonOutController {
|
|
|
goRequest = setNameVal(posterTemplate, fxSetting, fm.getSpare());
|
|
|
}
|
|
|
QrcodeInfo stringBuilder = getQrcodeInfo(goRequest);
|
|
|
- Mono<QrcodeInfo> qrcodeInfoMono=Mono.just(new QrcodeInfo(null,null,null));
|
|
|
+ Mono<QrcodeInfo> qrcodeInfoMono=Mono.just(new QrcodeInfo(null,null,null,null));
|
|
|
List<Item> collect = goRequest.getItem()
|
|
|
.stream()
|
|
|
.filter(filter -> "cusqrcode".equals(filter.getT())
|