文章目录
环境搭建篇
https://www.cnblogs.com/songjilong/p/12612383.html
未解决
vagrant上部署virtualbox.box
The Hyper-V cmdlets for PowerShell are not available! Vagrant
requires these to control Hyper-V. Please enable them in the
"Windows Features" control panel and try again.
初始化项目和添加微服务
配置.gitignore文件
提交代码时,忽略某些垃圾文件
快速开发-人人fast
renren-fast-vue
renren-fast(8080)
- common模块类
整合MyBatis-Plus
/**
* 1、整合MyBatis-Plus
* 1)、导入依赖
* <dependency>
* <groupId>com.baomidou</groupId>
* <artifactId>mybatis-plus-boot-starter</artifactId>
* <version>3.2.0</version>
* </dependency>
* 2)、配置
* 1、配置数据源;
* 1)、导入数据库的驱动。https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-versions.html
* 2)、在application.yml配置数据源相关信息
* 2、配置MyBatis-Plus;
* 1)、使用@MapperScan
* 2)、告诉MyBatis-Plus,sql映射文件位置
- 测试
- yml