mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
1.15.1
This commit is contained in:
@@ -2,7 +2,23 @@
|
||||
|
||||
以springboot项目为例,springmvc目前暂不支持,以后可以支持。
|
||||
|
||||
- 工程依赖sop-service-common,和eureka
|
||||
- pom.xml添加SpringCloud支持
|
||||
|
||||
```xml
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-dependencies</artifactId>
|
||||
<version>Greenwich.RELEASE</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
```
|
||||
|
||||
- pom.xml依赖sop-service-common和eureka
|
||||
|
||||
```xml
|
||||
<dependency>
|
||||
@@ -17,7 +33,7 @@
|
||||
</dependency>
|
||||
```
|
||||
|
||||
- 配置文件添加
|
||||
- application.properties配置文件添加
|
||||
|
||||
```properties
|
||||
server.port=2222
|
||||
|
Reference in New Issue
Block a user