# Chris Martin **Repository Path**: Account_2/Chris-Martin ## Basic Information - **Project Name**: Chris Martin - **Description**: Coldplay - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-02-24 - **Last Updated**: 2025-02-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # plus #### 介绍 Java项目模板:SpringBoot, MyBatis-Plus, Redis, Logback, Hutool, Swagger-UI * 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.kylin artifactId : plus-template-archetype version : 0.0.1-SNAPSHOT ``` 6. 选择添加的骨架新建项目,在配置中心配置相关项目的配置,如:你自己的 mysql 连接 7. 系统生成的 API 管理工具 swagger 接口文档地址: #### 软件架构 软件架构说明 ##### java * base : 基础类 * common : 公共类 * config : 配置 * constant : 常量,存放固定不变的信息 * dto : 入参对象 * entity : 实体对象,与数据库表一一对应 * exception : 自定义异常 * mapper : dao * service : 业务层接口 * impl : 业务逻辑实现类 * utils : 自定义工具 ##### resources * sql : mapper.xml * templates : 代码生成模板 * application-dev.yml: 开发环境配置 * application-test : 测试环境配置 * application-prod : 线上环境配置 * logback-spring : logback配置