提交 2b470c0c authored 作者: Whispa's avatar Whispa

commit

上级 3e4cdedb
......@@ -49,7 +49,7 @@ public class ImageSearchController extends Controller {
String[] strings = collect.toArray(new String[]{});
Page<TbCfStationItem> itemsByImageSearch = repository.getItemsByImageSearch(strings, (long) (2), PageRequest.of(pageNo, pageSize));
Map<String,Object> map = new LinkedHashMap<>();
map.put("data",itemsByImageSearch);
map.put("items",itemsByImageSearch.toList());
map.put("criteria",strings);
return new Result<>(map);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论