This commit is contained in:
xiongxiaoyang 2021-01-21 21:23:19 +08:00
parent 5c67139f7c
commit a7b80dceeb
2 changed files with 7 additions and 1 deletions

View File

@ -2,6 +2,12 @@
# novel-cloud # novel-cloud
[![Github stars](https://img.shields.io/github/stars/201206030/novel-cloud?logo=github)](https://github.com/201206030/novel-cloud)
[![Github forks](https://img.shields.io/github/forks/201206030/novel-cloud?logo=github)](https://github.com/201206030/novel-cloud)
[![Gitee star](https://gitee.com/novel_dev_team/novel-cloud/badge/star.svg?theme=gitee)](https://gitee.com/novel_dev_team/novel-cloud)
[![Gitee fork](https://gitee.com/novel_dev_team/novel-cloud/badge/fork.svg?theme=gitee)](https://gitee.com/novel_dev_team/novel-cloud)
#### 官网 #### 官网
https://xiongxyang.gitee.io/home/ https://xiongxyang.gitee.io/home/

View File

@ -19,7 +19,7 @@ public class EsConfig {
@Value("${spring.elasticsearch.jest.uris}") @Value("${spring.elasticsearch.jest.uris}")
private String esUris; private String esUris;
@Bean @Bean(destroyMethod = "close")
public RestHighLevelClient esClient(){ public RestHighLevelClient esClient(){