|
|
@@ -312,6 +312,15 @@ public class PlanNewOutController {
|
|
|
|
|
|
return RStatus.successList(dataListsKefuMono);
|
|
|
}
|
|
|
+
|
|
|
+ private static final String COLUMN="plan_new_id,name," +
|
|
|
+ "type,code,group_id,poster_template_id,page_show,page_line,count,list_audio_id," +
|
|
|
+ "ret_audio_id,link,is_add_qun,background_group_id,home_page_id,top_adv_num,bottom_adv_num,return_loop_id," +
|
|
|
+ "background_group_qs_id,top_adv_bl,bottom_adv_bl,return_loop_bl,group_Id_qs,baidu_dot," +
|
|
|
+ "background_group_id_new_add,preview_url,redirect_type,redirect_plan_id," +
|
|
|
+ "import_domain,landing_page_domain,transfer_page_domain,transfer_page_bl," +
|
|
|
+ "backgroup_domain,list_button,group_list_display";
|
|
|
+ private static final String[] COLUMNARRAYPLANNEW=COLUMN.split(",");
|
|
|
/**
|
|
|
* h5-通过code (第一个接口)
|
|
|
* @param request
|
|
|
@@ -330,8 +339,9 @@ public class PlanNewOutController {
|
|
|
} else {
|
|
|
ipAddress = null;
|
|
|
}
|
|
|
-
|
|
|
- Mono<PlanNew> code0 = template.selectOne(Query.query(Criteria.where("code").is(request.getCode())), PlanNew.class)
|
|
|
+ Mono<PlanNew> code0 = template.selectOne(Query
|
|
|
+ .query(Criteria.where("code").is(request.getCode()))
|
|
|
+ .columns(COLUMNARRAYPLANNEW), PlanNew.class)
|
|
|
.switchIfEmpty(Mono.error(new BaseException(" code错误")))
|
|
|
.onErrorResume(throwable -> Mono.error(new BaseException(throwable.getMessage())));
|
|
|
Mono<DataLists> dataListsMono1 = code0.flatMap(planNew -> {
|