目录
功能实现后项目结构一览

建立微服务项目
我们把上传单独做成一个模块,遵循软件的开闭原则

引入依赖
在pom文件中引入依赖
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
</dependency>
</dependencies>

最低0.47元/天 解锁文章
376

被折叠的 条评论
为什么被折叠?



