SpringCloud--工程重构

  1. 工程重构:
    1.   

       

    2.  

       

    3. <?xml version="1.0" encoding="UTF-8"?>
      <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
          <modelVersion>4.0.0</modelVersion>
          <parent>
              <artifactId>SpringCloud</artifactId>
              <groupId>com.model</groupId>
              <version>1.0-SNAPSHOT</version>
          </parent>
          <artifactId>springcloud003-api-commons</artifactId>
          <dependencies>
              <dependency>
                  <groupId>org.springframework.boot</groupId>
                  <artifactId>spring-boot-devtools</artifactId>
              </dependency>
      
      
              <dependency>
                  <groupId>org.projectlombok</groupId>
                  <artifactId>lombok</artifactId>
                  <optional>true</optional>
              </dependency>
              <dependency>
                  <groupId>cn.hutool</groupId>
                  <artifactId>hutool-all</artifactId>
                  <version>5.1.0</version>
              </dependency>
          </dependencies>
      
      </project>
    4.  

       

posted @ 2021-09-06 17:23  张紫韩  阅读(43)  评论(0编辑  收藏  举报