提交 720cc830 编写于 作者: 夏天飘过的风's avatar 夏天飘过的风

增加feign的调用功能

上级 3fe9f2b4
......@@ -6,6 +6,7 @@ package com.roncoo.education;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import com.spring4all.swagger.EnableSwagger2Doc;
......@@ -13,6 +14,7 @@ import com.spring4all.swagger.EnableSwagger2Doc;
* 用户服务
*/
@EnableSwagger2Doc
@EnableFeignClients
@ServletComponentScan
@SpringCloudApplication
public class UserServiceApplication {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册