package com.kidgrow.searchcenter.annotation;
|
|
import com.kidgrow.searchcenter.client.service.impl.QueryServiceImpl;
|
import org.springframework.cloud.openfeign.EnableFeignClients;
|
import org.springframework.context.annotation.Import;
|
|
import java.lang.annotation.ElementType;
|
import java.lang.annotation.Retention;
|
import java.lang.annotation.RetentionPolicy;
|
import java.lang.annotation.Target;
|
|
/**
|
* 石家庄喜高科技有限责任公司 版权所有 © Copyright 2020<br>
|
*
|
* @Description: 控制是否加载搜索中心客户端的Service<br>
|
* @Project: <br>
|
* @CreateDate: Created in 2020/2/24 12:13 <br>
|
* @Author: <a href="4345453@kidgrow.com">liuke</a>
|
*/
|
@Target(ElementType.TYPE)
|
@Retention(RetentionPolicy.RUNTIME)
|
@EnableFeignClients
|
@Import(QueryServiceImpl.class)
|
public @interface EnableSearchClient {
|
|
}
|