Skip to content

Commit c9a687d

Browse files
yf-teamCleverStupidDog
authored andcommitted
迁移云帆框架项目
0 parents  commit c9a687d

File tree

460 files changed

+48884
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

460 files changed

+48884
-0
lines changed

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 孤傲的小笼包
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# 关于
2+
3+
> 云帆快速开发框架是一个前后端分离的企业应用快速开发框架,后端基于SpringBoot/Shiro/MyBats,前端基于Vue3+Vite+Ts+ElementPlus开发,并提供在线代码生成器一键生成CRUD代码、在线模块市场提供丰富的模块实现,可以帮您以极少的成本实现稳定可靠的功能。
4+
5+
6+
## 写在前面
7+
本框架采用前后端分离架构,后端基于SpringBoot,前端基于Vue;接口统一采用POST进行数据传递,代码结构完全遵循Swagger注释规范,并提供相应的接口文档(http://localhost:8080/doc.html)
8+
使用本框架前,请确保公司的技术选型及开发思路与本系统相匹配,避免做无谓的工作。
9+
10+
## 框架特色
11+
### 文档规范
12+
本系统代码遵循阿里巴巴编码规范编写,同时使用Swagger规范进行注释,直接生成接口文档,便于前后端协同开发,无需手写文档,节约开发时间。
13+
### 组件丰富
14+
系统后端包含了常规的用户系统、权限系统、组织架构、通用能力(导入导出、验证码、注册登录)等功能;前端封装了数据表格、导入导出、文件上传、图形验证码等常用组件。
15+
### 代码生成
16+
提供在线的代码生成工具,贴入建表语句就可以一键生成entity、service、controller、mapper类等,并实现打包下载,直接将下载的代码复制到您的项目即可
17+
### 模块市场
18+
模块市场提供大量的成熟的业务实现、如:支付、文件存储、三方登录等组件、只需花极低的成本即可快速集成想要的功能
19+
20+
## 产品功能
21+
22+
23+
### 技术选型
24+
**1、系统环境**
25+
Java EE 8
26+
Apache Maven 3
27+
28+
**2、主框架**
29+
Spring Boot 2.2.x
30+
Spring Framework 5.2.x
31+
Apache Shiro 1.8
32+
33+
**3、持久层**
34+
Apache MyBatis 3.5.x
35+
Hibernate Validation 6.0.x
36+
Alibaba Druid 1.2.x
37+
38+
**4、视图层**
39+
Vue 3.0
40+
Element-Plus
41+
42+
43+
### 内置功能
44+
系统配置:配置系统的基本设置、如系统名称、存储方案、版权信息等。
45+
菜单管理:配置系统菜单、按钮、功能权限等。
46+
角色管理:配置角色基本信息、角色授权、角色数据权限(本人、本部门、本部门及以下、全部)。
47+
部门管理:配置部门信息、支持树结构。
48+
用户管理:配置系统用户、配置用户角色、基本信息等。
49+
公告管理:发布系统公告。
50+
分类字典:配置系统中所有分类数据,支持树结构。
51+
数据字典:配置系统中所有数据字典、用于下拉列表等。
52+
操作日志:记录系统中用户的行为,操作记录等。
53+
54+
55+
56+
57+
## 系统演示
58+
系统演示:https://demo.jeegen.com
59+
代码生成器:https://gen.jeegen.com
60+
模块市场:https://market.jeegen.com

db.sql

+768
Large diffs are not rendered by default.

yf-boot-api/application-local.yml

+85
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# 独立外挂配置文件
2+
server:
3+
port: 8080
4+
# 启用服务端压缩
5+
compression:
6+
enabled: true
7+
min-response-size: 10
8+
mime-types: application/json,application/xml,text/html,text/xml,text/plain,application/javascript,text/css
9+
10+
spring:
11+
application:
12+
name: yf-boot-api
13+
profiles:
14+
active: dev
15+
main:
16+
allow-bean-definition-overriding: true
17+
# 数据库配置
18+
datasource:
19+
type: com.alibaba.druid.pool.DruidDataSource
20+
driver-class-name: com.mysql.cj.jdbc.Driver
21+
url: jdbc:mysql://localhost:3306/pw_boot?useSSL=false&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true
22+
username: root
23+
password: root@123
24+
# druid相关配置
25+
druid:
26+
max-active: 5000
27+
initial-size: 20
28+
min-idle: 5
29+
async-init: true
30+
# 监控统计
31+
filters: stat,wall
32+
filter:
33+
stat:
34+
log-slow-sql: true
35+
slow-sql-millis: 5000
36+
wall:
37+
config:
38+
create-table-allow: false
39+
alter-table-allow: false
40+
drop-table-allow: false
41+
truncate-allow: false
42+
43+
# Redis配置
44+
redis:
45+
database: 13
46+
host: localhost
47+
port: 6379
48+
password:
49+
timeout: 5000
50+
51+
# 定时任务配置
52+
quartz:
53+
#数据库方式
54+
job-store-type: jdbc
55+
# quartz 相关属性配置
56+
properties:
57+
org:
58+
quartz:
59+
scheduler:
60+
instanceName: examScheduler
61+
instanceId: AUTO
62+
jobStore:
63+
class: org.springframework.scheduling.quartz.LocalDataSourceJobStore
64+
driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
65+
tablePrefix: QRTZ_
66+
isClustered: true
67+
clusterCheckinInterval: 10000
68+
useProperties: false
69+
threadPool:
70+
class: org.quartz.simpl.SimpleThreadPool
71+
threadCount: 10
72+
threadPriority: 5
73+
threadsInheritContextClassLoaderOfInitializingThread: true
74+
75+
76+
# 开启文档
77+
swagger:
78+
enable: true
79+
80+
# 日志配置
81+
logging:
82+
level:
83+
root: debug
84+
file:
85+
path: logs/${spring.application.name}/

0 commit comments

Comments
 (0)