谷粒商城-后台管理系统


https://www.cnblogs.com/songjilong/p/12612383.html
--项目总结 - 谷粒商城基础篇
https://www.cnblogs.com/songjilong/p/12705040.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

简介 :人人开源项目的代码生成器,可在线生成entity、xml、dao、service、vue、sql代码,减少70%以上的开发任务。

详细使用可参考官方文档:https://www.renren.io/guide#coder

本地部署

通过git下载源码
修改application.yml,更新MySQL账号和密码、数据库名称
Eclipse、IDEA运行RenrenApplication.java,则可启动项目
项目访问路径:http://localhost

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

分布式组件SpringCloud Alibaba

前端基础

商品服务

经验分享 程序员 微信小程序 职场和发展