# plus **Repository Path**: chao124/plus ## Basic Information - **Project Name**: plus - **Description**: springbooot脚手架 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2024-12-07 - **Last Updated**: 2024-12-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # plus #### 介绍 Java项目模板:SpringBoot, MyBatis-Plus,数据库连接池(Druid版本), Redis(默认lettuce连接池,ip限流),Swagger-UI,jwt(拦截器白名单), word和excel导入导出 ,本地/内存缓存(Caffeine实现),activeMQ * master: 线上 * beta: 测试 * other: 各自分支 #### 使用说明 1. 拉取项目到本地: git clone xxx 2. 用 idea 打开项目,在 terminal 里面输入 mvn archetype:create-from-project 3. 脚手架项目编译成功后到 install 到本地 1. cd target/generated-sources/archetype 2. mvn install 4. 用 idea 打开一个新窗口准备使用脚手架新建工程 5. 新建 maven 项目,勾选 create from archetype,点击 add Archetype 输入 ``` groupId : com.plus artifactId : plus-template-archetype version : 0.0.1-SNAPSHOT ``` 6. 选择添加的骨架新建项目,在配置中心配置相关项目的配置,如:你自己的 mysql 连接 7. 系统生成的 API 管理工具 swagger 接口文档地址: 8. 项目启动需要使用ActiveMQ,可以到官网下载ActiveMQ安装包,安装后本地启动,安装使用教程网络上有;如果不需要使用ActiveMQ可以删除依赖包 #### 软件架构 软件架构说明 ##### java * base : 基础类 * common : 公共类 * config : 配置 * constant : 常量,存放固定不变的信息 * dto : 入参对象 * entity : 实体对象,与数据库表一一对应 * exception : 自定义异常 * mapper : dao * service : 业务层接口 * impl : 业务逻辑实现类 * utils : 自定义工具 ##### resources * sql : mapper.xml * templates : 代码生成模板 * application.beta : 测试环境配置 * application.deploy : 线上环境配置 * logback-spring : logback配置