Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 770 Bytes

readme.md

File metadata and controls

39 lines (24 loc) · 770 Bytes

核心代码包

功能介绍

+ 主从数据库
    -阿里的druid连接池e
+ swagger集成
+ markdown语法

markdown语法介绍

swager集成介绍

1.maven引用

      <!--引入Swagger2的依赖-->
      <dependency>
          <groupId>io.springfox</groupId>
          <artifactId>springfox-swagger2</artifactId>
          <version>2.8.0</version>
      </dependency>
      <dependency>
          <groupId>io.springfox</groupId>
          <artifactId>springfox-swagger-ui</artifactId>
          <version>2.8.0</version>
      </dependency>

2.撰写swager config 类

3.运行程序,输入 http://localhost:8080/swagger-ui.html