上传文件至 /
This commit is contained in:
		
						commit
						47d5a4060b
					
				| 
						 | 
					@ -0,0 +1,21 @@
 | 
				
			||||||
 | 
					MIT License
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Copyright (c) 2020 若依
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Permission is hereby granted, free of charge, to any person obtaining a copy
 | 
				
			||||||
 | 
					of this software and associated documentation files (the "Software"), to deal
 | 
				
			||||||
 | 
					in the Software without restriction, including without limitation the rights
 | 
				
			||||||
 | 
					to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 | 
				
			||||||
 | 
					copies of the Software, and to permit persons to whom the Software is
 | 
				
			||||||
 | 
					furnished to do so, subject to the following conditions:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					The above copyright notice and this permission notice shall be included in all
 | 
				
			||||||
 | 
					copies or substantial portions of the Software.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 | 
				
			||||||
 | 
					IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 | 
				
			||||||
 | 
					FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 | 
				
			||||||
 | 
					AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 | 
				
			||||||
 | 
					LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 | 
				
			||||||
 | 
					OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 | 
				
			||||||
 | 
					SOFTWARE.
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,128 @@
 | 
				
			||||||
 | 
					<p align="center">
 | 
				
			||||||
 | 
						<img alt="logo" src="https://oscimg.oschina.net/oscnet/up-b99b286755aef70355a7084753f89cdb7c9.png">
 | 
				
			||||||
 | 
					</p>
 | 
				
			||||||
 | 
					<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">bonus v24.7.0</h1>
 | 
				
			||||||
 | 
					<h4 align="center">基于 Vue/Element UI 和 Spring Boot/Spring Cloud & Alibaba 前后端分离的分布式微服务架构</h4>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## 平台简介
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					博诺思平台是基于若依快速开发平台的轻量级系统,基于Spring Boot、Spring Cloud、Spring Cloud Alibaba、OAuth2.0、JWT、Redis、MyBatis、Shiro、Quartz、Swagger、EasyExcel、EasyPoi、Layui、Element UI、Vue、Nginx、Docker、Maven、Git、GitHub、Gitee、Jen
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## 系统模块
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					~~~
 | 
				
			||||||
 | 
					com.bonus     
 | 
				
			||||||
 | 
					├── bonus-ui              // 前端框架 [80]
 | 
				
			||||||
 | 
					├── bonus-gateway         // 网关模块 [8080]
 | 
				
			||||||
 | 
					├── bonus-auth            // 认证中心 [9200]
 | 
				
			||||||
 | 
					├── bonus-api             // 接口模块
 | 
				
			||||||
 | 
					│       └── bonus-api-system                          // 系统接口
 | 
				
			||||||
 | 
					├── bonus-common          // 通用模块
 | 
				
			||||||
 | 
					│       └── bonus-common-core                         // 核心模块
 | 
				
			||||||
 | 
					│       └── bonus-common-datascope                    // 权限范围
 | 
				
			||||||
 | 
					│       └── bonus-common-datasource                   // 多数据源
 | 
				
			||||||
 | 
					│       └── bonus-common-log                          // 日志记录
 | 
				
			||||||
 | 
					│       └── bonus-common-redis                        // 缓存服务
 | 
				
			||||||
 | 
					│       └── bonus-common-seata                        // 分布式事务
 | 
				
			||||||
 | 
					│       └── bonus-common-security                     // 安全模块
 | 
				
			||||||
 | 
					│       └── bonus-common-swagger                      // 系统接口
 | 
				
			||||||
 | 
					├── bonus-modules         // 业务模块
 | 
				
			||||||
 | 
					│       └── bonus-system                              // 系统模块 [9201]
 | 
				
			||||||
 | 
					│       └── bonus-gen                                 // 代码生成 [9202]
 | 
				
			||||||
 | 
					│       └── bonus-job                                 // 定时任务 [9203]
 | 
				
			||||||
 | 
					│       └── bonus-file                                // 文件服务 [9300]
 | 
				
			||||||
 | 
					├── bonus-visual          // 图形化管理模块
 | 
				
			||||||
 | 
					│       └── bonus-visual-monitor                      // 监控中心 [9100]
 | 
				
			||||||
 | 
					├──pom.xml                // 公共依赖
 | 
				
			||||||
 | 
					~~~
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## 架构图
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<img src="cloud-architecture.png"/>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## 内置功能
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					1.  用户管理:用户是系统操作者,该功能主要完成系统用户配置。
 | 
				
			||||||
 | 
					2.  部门管理:配置系统组织机构(公司、部门、小组),树结构展现支持数据权限。
 | 
				
			||||||
 | 
					3.  岗位管理:配置系统用户所属担任职务。
 | 
				
			||||||
 | 
					4.  菜单管理:配置系统菜单,操作权限,按钮权限标识等。
 | 
				
			||||||
 | 
					5.  角色管理:角色菜单权限分配、设置角色按机构进行数据范围权限划分。
 | 
				
			||||||
 | 
					6.  字典管理:对系统中经常使用的一些较为固定的数据进行维护。
 | 
				
			||||||
 | 
					7.  参数管理:对系统动态配置常用参数。
 | 
				
			||||||
 | 
					8.  通知公告:系统通知公告信息发布维护。
 | 
				
			||||||
 | 
					9.  操作日志:系统正常操作日志记录和查询;系统异常信息日志记录和查询。
 | 
				
			||||||
 | 
					10. 登录日志:系统登录日志记录查询包含登录异常。
 | 
				
			||||||
 | 
					11. 在线用户:当前系统中活跃用户状态监控。
 | 
				
			||||||
 | 
					12. 定时任务:在线(添加、修改、删除)任务调度包含执行结果日志。
 | 
				
			||||||
 | 
					13. 代码生成:前后端代码的生成(java、html、xml、sql)支持CRUD下载 。
 | 
				
			||||||
 | 
					14. 系统接口:根据业务代码自动生成相关的api接口文档。
 | 
				
			||||||
 | 
					15. 服务监控:监视当前系统CPU、内存、磁盘、堆栈等相关信息。
 | 
				
			||||||
 | 
					16. 在线构建器:拖动表单元素生成相应的HTML代码。
 | 
				
			||||||
 | 
					17. 连接池监视:监视当前系统数据库连接池状态,可进行分析SQL找出系统性能瓶颈。
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## 在线体验
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					演示地址:待定  
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## 部署
 | 
				
			||||||
 | 
					准备工作
 | 
				
			||||||
 | 
					1. JDK >= 1.8 (推荐1.8版本)
 | 
				
			||||||
 | 
					2. Mysql >= 5.7.0 (推荐5.7版本)
 | 
				
			||||||
 | 
					3. Redis >= 3.0
 | 
				
			||||||
 | 
					4. Maven >= 3.0
 | 
				
			||||||
 | 
					5. Node >= 12
 | 
				
			||||||
 | 
					6. nacos >= 2.0.4 
 | 
				
			||||||
 | 
					7. sentinel >= 1.6.0
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					运行系统
 | 
				
			||||||
 | 
					#后端运行
 | 
				
			||||||
 | 
					1. 前往Gitee下载页面(http://192.168.0.56:3000/bonus/Bonus-Cloud.git)下载解压到工作目录
 | 
				
			||||||
 | 
					2. IntelliJ IDEA,菜单 File -> Open 打开项目
 | 
				
			||||||
 | 
					3. 创建数据库bns-cloud并导入数据脚本bns_20240604.sql(必须),quartz.sql(可选)
 | 
				
			||||||
 | 
					4. 创建数据库bns-config并导入数据脚本bns_config_20240604.sql(必须)
 | 
				
			||||||
 | 
					5. 配置nacos持久化,修改conf/application.properties文件,增加支持mysql数据源配置
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    spring.datasource.platform=mysql
 | 
				
			||||||
 | 
					    db.num=1
 | 
				
			||||||
 | 
					    db.url.0=jdbc:mysql://localhost:3306/bns-config?characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=UTC
 | 
				
			||||||
 | 
					    db.user=root
 | 
				
			||||||
 | 
					    db.password=password
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					6、打开运行基础模块(启动没有先后顺序)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					BonusGatewayApplication (网关模块 必须)
 | 
				
			||||||
 | 
					BonusAuthApplication (认证模块 必须)
 | 
				
			||||||
 | 
					BonusSystemApplication (系统模块 必须)
 | 
				
			||||||
 | 
					BonusMonitorApplication (监控中心 可选)
 | 
				
			||||||
 | 
					BonusGenApplication (代码生成 可选)
 | 
				
			||||||
 | 
					BonusJobApplication (定时任务 可选)
 | 
				
			||||||
 | 
					BonusFileApplication (文件服务 可选)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					7、集成seata分布式事务(可选配置,默认不启用)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					创建数据库bns-seata并导入数据脚本bns_seata_20240604.sql
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## 前端运行
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    # 进入项目目录
 | 
				
			||||||
 | 
					    cd bonus-ui
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    # 安装依赖
 | 
				
			||||||
 | 
					    npm install
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    # 强烈建议不要用直接使用 cnpm 安装,会有各种诡异的 bug,可以通过重新指定 registry 来解决 npm 安装速度慢的问题。
 | 
				
			||||||
 | 
					    npm install --registry=https://registry.npmmirror.com
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    # 本地开发 启动项目
 | 
				
			||||||
 | 
					    npm run dev
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					4、打开浏览器,输入:(http://localhost:80 (opens new window)) 默认账户/密码 admin/admin123)
 | 
				
			||||||
 | 
					若能正确展示登录页面,并能成功登录,菜单及页面展示正常,则表明环境搭建成功
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,39 @@
 | 
				
			||||||
 | 
					<?xml version="1.0" encoding="UTF-8"?>
 | 
				
			||||||
 | 
					<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
 | 
				
			||||||
 | 
					  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
 | 
				
			||||||
 | 
					    <output url="file://$MODULE_DIR$/target/classes" />
 | 
				
			||||||
 | 
					    <output-test url="file://$MODULE_DIR$/target/test-classes" />
 | 
				
			||||||
 | 
					    <content url="file://$MODULE_DIR$">
 | 
				
			||||||
 | 
					      <excludeFolder url="file://$MODULE_DIR$/target" />
 | 
				
			||||||
 | 
					    </content>
 | 
				
			||||||
 | 
					    <orderEntry type="inheritedJdk" />
 | 
				
			||||||
 | 
					    <orderEntry type="sourceFolder" forTests="false" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter-bootstrap:3.1.7" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter:3.1.7" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:2.7.18" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot:2.7.18" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: org.springframework:spring-context:5.3.33" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: org.springframework:spring-aop:5.3.33" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: org.springframework:spring-beans:5.3.33" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: org.springframework:spring-expression:5.3.33" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:2.7.18" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:2.7.18" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.2.12" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.2.12" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.36" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-to-slf4j:2.17.2" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-api:2.17.2" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.36" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: jakarta.annotation:jakarta.annotation-api:1.3.5" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: org.springframework:spring-core:5.3.33" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: org.springframework:spring-jcl:5.3.33" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: org.yaml:snakeyaml:1.30" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-context:3.1.7" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: org.springframework.security:spring-security-crypto:5.7.11" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-commons:3.1.7" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: org.springframework.security:spring-security-rsa:1.0.11.RELEASE" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: org.bouncycastle:bcpkix-jdk15on:1.69" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: org.bouncycastle:bcprov-jdk15on:1.69" level="project" />
 | 
				
			||||||
 | 
					    <orderEntry type="library" name="Maven: org.bouncycastle:bcutil-jdk15on:1.69" level="project" />
 | 
				
			||||||
 | 
					  </component>
 | 
				
			||||||
 | 
					</module>
 | 
				
			||||||
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 228 KiB  | 
| 
						 | 
					@ -0,0 +1,302 @@
 | 
				
			||||||
 | 
					<?xml version="1.0" encoding="UTF-8"?>
 | 
				
			||||||
 | 
					<project xmlns="http://maven.apache.org/POM/4.0.0"
 | 
				
			||||||
 | 
					         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 | 
				
			||||||
 | 
					         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 | 
				
			||||||
 | 
					    <modelVersion>4.0.0</modelVersion>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <groupId>com.bonus</groupId>
 | 
				
			||||||
 | 
					    <artifactId>bonus</artifactId>
 | 
				
			||||||
 | 
					    <version>24.12.0-SNAPSHOT</version>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <name>bonus</name>
 | 
				
			||||||
 | 
					    <url>http://www.ahbonus.cn</url>
 | 
				
			||||||
 | 
					    <description>博诺思微服务系统</description>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <properties>
 | 
				
			||||||
 | 
					        <bonus.version>24.12.0-SNAPSHOT</bonus.version>
 | 
				
			||||||
 | 
					        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 | 
				
			||||||
 | 
					        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
 | 
				
			||||||
 | 
					        <java.version>1.8</java.version>
 | 
				
			||||||
 | 
					        <spring-boot.version>2.7.18</spring-boot.version>
 | 
				
			||||||
 | 
					        <spring-cloud.version>2021.0.8</spring-cloud.version>
 | 
				
			||||||
 | 
					        <spring-cloud-alibaba.version>2021.0.5.0</spring-cloud-alibaba.version>
 | 
				
			||||||
 | 
					        <spring-framework.version>5.3.33</spring-framework.version>
 | 
				
			||||||
 | 
					        <spring-boot-admin.version>2.7.15</spring-boot-admin.version>
 | 
				
			||||||
 | 
					        <swagger.fox.version>3.0.0</swagger.fox.version>
 | 
				
			||||||
 | 
					        <swagger.core.version>1.6.2</swagger.core.version>
 | 
				
			||||||
 | 
					        <tobato.version>1.27.2</tobato.version>
 | 
				
			||||||
 | 
					        <kaptcha.version>2.3.3</kaptcha.version>
 | 
				
			||||||
 | 
					        <pagehelper.boot.version>2.1.0</pagehelper.boot.version>
 | 
				
			||||||
 | 
					        <druid.version>1.2.20</druid.version>
 | 
				
			||||||
 | 
					        <dynamic-ds.version>4.2.0</dynamic-ds.version>
 | 
				
			||||||
 | 
					        <commons.io.version>2.13.0</commons.io.version>
 | 
				
			||||||
 | 
					        <velocity.version>2.3</velocity.version>
 | 
				
			||||||
 | 
					        <fastjson.version>2.0.43</fastjson.version>
 | 
				
			||||||
 | 
					        <jjwt.version>0.9.1</jjwt.version>
 | 
				
			||||||
 | 
					        <minio.version>8.2.2</minio.version>
 | 
				
			||||||
 | 
					        <poi.version>4.1.2</poi.version>
 | 
				
			||||||
 | 
					        <transmittable-thread-local.version>2.14.4</transmittable-thread-local.version>
 | 
				
			||||||
 | 
					        <jasypt-spring-boot-starter.version>3.0.2</jasypt-spring-boot-starter.version>
 | 
				
			||||||
 | 
					        <mybatis-plus.version>3.5.7</mybatis-plus.version>
 | 
				
			||||||
 | 
					    </properties>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <!-- 依赖声明 -->
 | 
				
			||||||
 | 
					    <dependencyManagement>
 | 
				
			||||||
 | 
					        <dependencies>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- SpringFramework的依赖配置-->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>org.springframework</groupId>
 | 
				
			||||||
 | 
					                <artifactId>spring-framework-bom</artifactId>
 | 
				
			||||||
 | 
					                <version>${spring-framework.version}</version>
 | 
				
			||||||
 | 
					                <type>pom</type>
 | 
				
			||||||
 | 
					                <scope>import</scope>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- SpringCloud 微服务 -->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>org.springframework.cloud</groupId>
 | 
				
			||||||
 | 
					                <artifactId>spring-cloud-dependencies</artifactId>
 | 
				
			||||||
 | 
					                <version>${spring-cloud.version}</version>
 | 
				
			||||||
 | 
					                <type>pom</type>
 | 
				
			||||||
 | 
					                <scope>import</scope>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- SpringCloud Alibaba 微服务 -->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>com.alibaba.cloud</groupId>
 | 
				
			||||||
 | 
					                <artifactId>spring-cloud-alibaba-dependencies</artifactId>
 | 
				
			||||||
 | 
					                <version>${spring-cloud-alibaba.version}</version>
 | 
				
			||||||
 | 
					                <type>pom</type>
 | 
				
			||||||
 | 
					                <scope>import</scope>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- SpringBoot 依赖配置 -->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>org.springframework.boot</groupId>
 | 
				
			||||||
 | 
					                <artifactId>spring-boot-dependencies</artifactId>
 | 
				
			||||||
 | 
					                <version>${spring-boot.version}</version>
 | 
				
			||||||
 | 
					                <type>pom</type>
 | 
				
			||||||
 | 
					                <scope>import</scope>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- FastDFS 分布式文件系统 -->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>com.github.tobato</groupId>
 | 
				
			||||||
 | 
					                <artifactId>fastdfs-client</artifactId>
 | 
				
			||||||
 | 
					                <version>${tobato.version}</version>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- Swagger 依赖配置 -->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>io.swagger</groupId>
 | 
				
			||||||
 | 
					                <artifactId>swagger-models</artifactId>
 | 
				
			||||||
 | 
					                <version>${swagger.core.version}</version>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>io.swagger</groupId>
 | 
				
			||||||
 | 
					                <artifactId>swagger-annotations</artifactId>
 | 
				
			||||||
 | 
					                <version>${swagger.core.version}</version>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>com.github.xiaoymin</groupId>
 | 
				
			||||||
 | 
					                <artifactId>knife4j-spring-boot-starter</artifactId>
 | 
				
			||||||
 | 
					                <version>3.0.3</version>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					<!--            <dependency>-->
 | 
				
			||||||
 | 
					<!--                <groupId>com.github.xiaoymin</groupId>-->
 | 
				
			||||||
 | 
					<!--                <artifactId>knife4j-spring-boot-autoconfigure</artifactId>-->
 | 
				
			||||||
 | 
					<!--                <version>3.0.3</version>-->
 | 
				
			||||||
 | 
					<!--            </dependency>-->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- 验证码 -->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>pro.fessional</groupId>
 | 
				
			||||||
 | 
					                <artifactId>kaptcha</artifactId>
 | 
				
			||||||
 | 
					                <version>${kaptcha.version}</version>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- pagehelper 分页插件 -->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>com.github.pagehelper</groupId>
 | 
				
			||||||
 | 
					                <artifactId>pagehelper-spring-boot-starter</artifactId>
 | 
				
			||||||
 | 
					                <version>${pagehelper.boot.version}</version>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- io常用工具类 -->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>commons-io</groupId>
 | 
				
			||||||
 | 
					                <artifactId>commons-io</artifactId>
 | 
				
			||||||
 | 
					                <version>${commons.io.version}</version>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- excel工具 -->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>org.apache.poi</groupId>
 | 
				
			||||||
 | 
					                <artifactId>poi-ooxml</artifactId>
 | 
				
			||||||
 | 
					                <version>${poi.version}</version>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- 代码生成使用模板 -->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>org.apache.velocity</groupId>
 | 
				
			||||||
 | 
					                <artifactId>velocity-engine-core</artifactId>
 | 
				
			||||||
 | 
					                <version>${velocity.version}</version>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- JSON 解析器和生成器 -->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>com.alibaba.fastjson2</groupId>
 | 
				
			||||||
 | 
					                <artifactId>fastjson2</artifactId>
 | 
				
			||||||
 | 
					                <version>${fastjson.version}</version>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- JWT -->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>io.jsonwebtoken</groupId>
 | 
				
			||||||
 | 
					                <artifactId>jjwt</artifactId>
 | 
				
			||||||
 | 
					                <version>${jjwt.version}</version>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- 线程传递值 -->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>com.alibaba</groupId>
 | 
				
			||||||
 | 
					                <artifactId>transmittable-thread-local</artifactId>
 | 
				
			||||||
 | 
					                <version>${transmittable-thread-local.version}</version>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- 核心配置 -->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>com.bonus</groupId>
 | 
				
			||||||
 | 
					                <artifactId>bonus-common-config</artifactId>
 | 
				
			||||||
 | 
					                <version>${bonus.version}</version>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- 核心模块 -->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>com.bonus</groupId>
 | 
				
			||||||
 | 
					                <artifactId>bonus-common-core</artifactId>
 | 
				
			||||||
 | 
					                <version>${bonus.version}</version>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- 接口模块 -->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>com.bonus</groupId>
 | 
				
			||||||
 | 
					                <artifactId>bonus-common-swagger</artifactId>
 | 
				
			||||||
 | 
					                <version>${bonus.version}</version>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- 安全模块 -->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>com.bonus</groupId>
 | 
				
			||||||
 | 
					                <artifactId>bonus-common-security</artifactId>
 | 
				
			||||||
 | 
					                <version>${bonus.version}</version>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- 数据脱敏 -->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>com.bonus</groupId>
 | 
				
			||||||
 | 
					                <artifactId>bonus-common-sensitive</artifactId>
 | 
				
			||||||
 | 
					                <version>${bonus.version}</version>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- 权限范围 -->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>com.bonus</groupId>
 | 
				
			||||||
 | 
					                <artifactId>bonus-common-datascope</artifactId>
 | 
				
			||||||
 | 
					                <version>${bonus.version}</version>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- 多数据源 -->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>com.bonus</groupId>
 | 
				
			||||||
 | 
					                <artifactId>bonus-common-datasource</artifactId>
 | 
				
			||||||
 | 
					                <version>${bonus.version}</version>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- 分布式事务 -->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>com.bonus</groupId>
 | 
				
			||||||
 | 
					                <artifactId>bonus-common-seata</artifactId>
 | 
				
			||||||
 | 
					                <version>${bonus.version}</version>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- 日志记录 -->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>com.bonus</groupId>
 | 
				
			||||||
 | 
					                <artifactId>bonus-common-log</artifactId>
 | 
				
			||||||
 | 
					                <version>${bonus.version}</version>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- 缓存服务 -->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>com.bonus</groupId>
 | 
				
			||||||
 | 
					                <artifactId>bonus-common-redis</artifactId>
 | 
				
			||||||
 | 
					                <version>${bonus.version}</version>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <!-- 系统接口 -->
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>com.bonus</groupId>
 | 
				
			||||||
 | 
					                <artifactId>bonus-api-system</artifactId>
 | 
				
			||||||
 | 
					                <version>${bonus.version}</version>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<!--            <dependency>-->
 | 
				
			||||||
 | 
					<!--                <groupId>com.baomidou</groupId>-->
 | 
				
			||||||
 | 
					<!--                <artifactId>mybatis-plus-boot-starter</artifactId>-->
 | 
				
			||||||
 | 
					<!--                <version>${mybatis-plus.version}</version>-->
 | 
				
			||||||
 | 
					<!--                <type>pom</type>-->
 | 
				
			||||||
 | 
					<!--                <scope>import</scope>-->
 | 
				
			||||||
 | 
					<!--            </dependency>-->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        </dependencies>
 | 
				
			||||||
 | 
					    </dependencyManagement>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <modules>
 | 
				
			||||||
 | 
					        <module>bonus-modules</module>
 | 
				
			||||||
 | 
					        <module>bonus-common-biz</module>
 | 
				
			||||||
 | 
					    </modules>
 | 
				
			||||||
 | 
					    <packaging>pom</packaging>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <dependencies>
 | 
				
			||||||
 | 
					        <!-- bootstrap 启动器 -->
 | 
				
			||||||
 | 
					        <dependency>
 | 
				
			||||||
 | 
					            <groupId>org.springframework.cloud</groupId>
 | 
				
			||||||
 | 
					            <artifactId>spring-cloud-starter-bootstrap</artifactId>
 | 
				
			||||||
 | 
					        </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    </dependencies>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <build>
 | 
				
			||||||
 | 
					        <plugins>
 | 
				
			||||||
 | 
					            <plugin>
 | 
				
			||||||
 | 
					                <groupId>org.apache.maven.plugins</groupId>
 | 
				
			||||||
 | 
					                <artifactId>maven-compiler-plugin</artifactId>
 | 
				
			||||||
 | 
					                <configuration>
 | 
				
			||||||
 | 
					                    <source>${java.version}</source>
 | 
				
			||||||
 | 
					                    <target>${java.version}</target>
 | 
				
			||||||
 | 
					                    <encoding>${project.build.sourceEncoding}</encoding>
 | 
				
			||||||
 | 
					                </configuration>
 | 
				
			||||||
 | 
					                <version>3.12.0</version>
 | 
				
			||||||
 | 
					            </plugin>
 | 
				
			||||||
 | 
					        </plugins>
 | 
				
			||||||
 | 
					        <pluginManagement>
 | 
				
			||||||
 | 
					            <plugins>
 | 
				
			||||||
 | 
					                <plugin>
 | 
				
			||||||
 | 
					                    <groupId>org.springframework.boot</groupId>
 | 
				
			||||||
 | 
					                    <artifactId>spring-boot-maven-plugin</artifactId>
 | 
				
			||||||
 | 
					                    <version>${spring-boot.version}</version>
 | 
				
			||||||
 | 
					                    <executions>
 | 
				
			||||||
 | 
					                        <execution>
 | 
				
			||||||
 | 
					                            <goals>
 | 
				
			||||||
 | 
					                                <goal>repackage</goal>
 | 
				
			||||||
 | 
					                            </goals>
 | 
				
			||||||
 | 
					                        </execution>
 | 
				
			||||||
 | 
					                    </executions>
 | 
				
			||||||
 | 
					                </plugin>
 | 
				
			||||||
 | 
					            </plugins>
 | 
				
			||||||
 | 
					        </pluginManagement>
 | 
				
			||||||
 | 
					    </build>
 | 
				
			||||||
 | 
					</project>
 | 
				
			||||||
		Loading…
	
		Reference in New Issue