File tree Expand file tree Collapse file tree
simple-web/src/main/java/top/cadecode/web/demo/controller Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 <groupId >com.github.xiaoymin</groupId >
3434 <artifactId >knife4j-spring-boot-starter</artifactId >
3535 </dependency >
36+ <!-- 引入 mybatis-->
37+ <dependency >
38+ <groupId >org.mybatis.spring.boot</groupId >
39+ <artifactId >mybatis-spring-boot-starter</artifactId >
40+ <version >2.2.0</version >
41+ </dependency >
42+ <!-- 引入 mysql 驱动-->
43+ <dependency >
44+ <groupId >mysql</groupId >
45+ <artifactId >mysql-connector-java</artifactId >
46+ <scope >runtime</scope >
47+ </dependency >
3648 </dependencies >
3749</project >
Original file line number Diff line number Diff line change 2222 <groupId >top.cadecode</groupId >
2323 <artifactId >simple-common</artifactId >
2424 </dependency >
25- <!-- 引入 mybatis-->
26- <!-- <dependency>-->
27- <!-- <groupId>org.mybatis.spring.boot</groupId>-->
28- <!-- <artifactId>mybatis-spring-boot-starter</artifactId>-->
29- <!-- <version>2.2.0</version>-->
30- <!-- </dependency>-->
31- <!-- 引入 mysql 驱动-->
32- <dependency >
33- <groupId >mysql</groupId >
34- <artifactId >mysql-connector-java</artifactId >
35- <scope >runtime</scope >
36- </dependency >
3725 </dependencies >
3826</project >
Original file line number Diff line number Diff line change 1- package top .cadecode .web .controller ;
1+ package top .cadecode .web .demo . controller ;
22
33import org .springframework .web .bind .annotation .PostMapping ;
44import org .springframework .web .bind .annotation .RequestMapping ;
You can’t perform that action at this time.
0 commit comments