Commit cd26e77e authored by Quxl's avatar Quxl

x

parent da92fb78
...@@ -56,10 +56,11 @@ public class GoodsCollectTask extends AbstractSolrApi{ ...@@ -56,10 +56,11 @@ public class GoodsCollectTask extends AbstractSolrApi{
@PostConstruct @PostConstruct
@ApiOperation("更新查询语句") @ApiOperation("更新查询语句")
@PostMapping("updateQuerySql") @PostMapping("updateQuerySql")
public void init() { public String init() {
createIndexQuerySql = FileUtil.fileToString(createIndexQueryFilePath); createIndexQuerySql = FileUtil.fileToString(createIndexQueryFilePath);
updateIndexQuerySql = FileUtil.fileToString(deleteIndexQueryFilePath); updateIndexQuerySql = FileUtil.fileToString(deleteIndexQueryFilePath);
deleteIndexQuerySql = FileUtil.fileToString(updateIndexQueryFilePath); deleteIndexQuerySql = FileUtil.fileToString(updateIndexQueryFilePath);
return Rjx.jsonOk().toJson();
} }
@ApiOperation("更新全量索引") @ApiOperation("更新全量索引")
......
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