fix: fix component scan error
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package com.hcframe.es;
|
||||
package com.taixingyiji.es;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
@@ -16,7 +16,7 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2;
|
||||
@EnableCaching
|
||||
//@EnableDiscoveryClient
|
||||
//@EnableFeignClients
|
||||
@ComponentScan(basePackages = {"com.hcframe.**"})
|
||||
@ComponentScan(basePackages = {"com.taixingyiji.**"})
|
||||
public class EsApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.hcframe.es;
|
||||
package com.taixingyiji.es;
|
||||
|
||||
import org.springframework.boot.builder.SpringApplicationBuilder;
|
||||
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.hcframe.es.annotation;
|
||||
package com.taixingyiji.es.annotation;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
@@ -1,7 +1,6 @@
|
||||
package com.hcframe.es.config;
|
||||
package com.taixingyiji.es.config;
|
||||
|
||||
import com.taixingyiji.base.module.cache.CacheService;
|
||||
import com.taixingyiji.base.module.datasource.utils.DataSourceUtil;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.hcframe.es.config;
|
||||
package com.taixingyiji.es.config;
|
||||
|
||||
import com.taixingyiji.base.module.auth.dao.FtUserDao;
|
||||
import com.taixingyiji.base.module.auth.entity.FtUser;
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.hcframe.es.controller;
|
||||
package com.taixingyiji.es.controller;
|
||||
|
||||
import com.taixingyiji.base.common.ResultVO;
|
||||
import com.hcframe.es.service.SearchService;
|
||||
import com.taixingyiji.es.service.SearchService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiImplicitParam;
|
||||
import io.swagger.annotations.ApiImplicitParams;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.hcframe.es.entity;
|
||||
package com.taixingyiji.es.entity;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.AllArgsConstructor;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.hcframe.es.esmapper;
|
||||
package com.taixingyiji.es.esmapper;
|
||||
|
||||
import org.elasticsearch.action.search.SearchResponse;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.hcframe.es.esmapper.impl;
|
||||
package com.taixingyiji.es.esmapper.impl;
|
||||
|
||||
import com.taixingyiji.base.common.ServiceException;
|
||||
import com.hcframe.es.esmapper.EsMapper;
|
||||
import com.taixingyiji.es.esmapper.EsMapper;
|
||||
import org.elasticsearch.action.search.SearchRequest;
|
||||
import org.elasticsearch.action.search.SearchResponse;
|
||||
import org.elasticsearch.client.RequestOptions;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.hcframe.es.service;
|
||||
package com.taixingyiji.es.service;
|
||||
|
||||
|
||||
import com.taixingyiji.base.common.ResultVO;
|
||||
@@ -1,9 +1,9 @@
|
||||
package com.hcframe.es.service.impl;
|
||||
package com.taixingyiji.es.service.impl;
|
||||
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.taixingyiji.base.common.ResultVO;
|
||||
import com.hcframe.es.esmapper.EsMapper;
|
||||
import com.hcframe.es.service.SearchService;
|
||||
import com.taixingyiji.es.esmapper.EsMapper;
|
||||
import com.taixingyiji.es.service.SearchService;
|
||||
import org.elasticsearch.action.search.SearchResponse;
|
||||
import org.elasticsearch.common.text.Text;
|
||||
import org.elasticsearch.search.SearchHit;
|
||||
Reference in New Issue
Block a user