# chips-shop **Repository Path**: chips-Shop/chips-shop ## Basic Information - **Project Name**: chips-shop - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-12 - **Last Updated**: 2024-08-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## chips-shop ### 技术栈 * Spring Boot * MyBatis * MyBatis Plus * Smart Doc * Spring Security ### 模块说明 * chips-shop-core 核心代码模块, 即以后每个项目都是需要用到的公共核心代码, 便于抽离做其它项目 * chips-shop-common 公共代码模块, 当前项目各个模块共用的实体、枚举、常量等等 * chips-shop-security 安全权限模块, 需要用到权限的模块单独依赖引入 * chips-shop-admin 后台管理端接口模块 * chips-shop-api 前台用户端接口模块 ### 启动说明 1. 先建数据库, 执行document目录下面 init_v2.sql 进行初始化 2. 修改数据库和Redis配置, 然后启动 ### 接口文档 1. 在项目根目录下 执行下面命令 ```shell ## 生成HTML 的接口文档 mvn -Dfile.encoding=UTF-8 smart-doc:html -pl :chips-shop-admin -am ## 生成postman的接口文档 mvn -Dfile.encoding=UTF-8 smart-doc:postman -pl :chips-shop-admin -am ``` 2. 或者直接使用idea 的maven工具栏, 点击项目root下面的Plugins ==> smart-doc ==> smart-doc:html 即可生成对应的文档 3. 生成的文档会在对应的模块的smart-doc目录下面 1. idea右键 Open in Browser 打开 debug.html 文件 即可在浏览器进行调试 2. 在postman导入postman.json 也可以进行调试