Commit c3aca1da by shenjunjie

调整全网搜传参名

parent 2a0f2713
package com.zhiwei.brandkbs2.pojo.dto; package com.zhiwei.brandkbs2.pojo.dto;
import com.alibaba.fastjson.JSON;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
...@@ -81,13 +80,13 @@ public class SearchFilterDTO { ...@@ -81,13 +80,13 @@ public class SearchFilterDTO {
* 来源 * 来源
*/ */
@ApiModelProperty(value = "来源") @ApiModelProperty(value = "来源")
private String source; private String sourceKeyword;
/** /**
* 域名 * 域名
*/ */
@ApiModelProperty(value = "域名") @ApiModelProperty(value = "域名")
private String host; private String hostKeyword;
/** /**
* 过滤关键字 * 过滤关键字
...@@ -133,8 +132,8 @@ public class SearchFilterDTO { ...@@ -133,8 +132,8 @@ public class SearchFilterDTO {
map.put("search", search); map.put("search", search);
map.put("startTime", startTime); map.put("startTime", startTime);
map.put("endTime", endTime); map.put("endTime", endTime);
map.put("source", source); map.put("source", sourceKeyword);
map.put("url",host); map.put("url", hostKeyword);
map.put("sort", Objects.nonNull(sorter) ? sorter : "DESC"); map.put("sort", Objects.nonNull(sorter) ? sorter : "DESC");
map.put("page", page); map.put("page", page);
map.put("pageSize", pageSize); map.put("pageSize", pageSize);
...@@ -142,7 +141,6 @@ public class SearchFilterDTO { ...@@ -142,7 +141,6 @@ public class SearchFilterDTO {
map.put("sensitiveChannels", sensitiveChannels); map.put("sensitiveChannels", sensitiveChannels);
map.put("fans", fans); map.put("fans", fans);
map.put("filterType", filterType); map.put("filterType", filterType);
System.out.println("map:"+ JSON.toJSONString(map));
return map; return map;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment