湖州项目后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
gejunhao 70eeb9f0f3 完善判空逻辑 2 months ago
.gitee first commit 10 months ago
db 优化代码 3 months ago
easy-activiti 新增项目新的字段 6 months ago
easy-api 修改配置文件 2 months ago
easy-cms first commit 10 months ago
easy-common first commit 10 months ago
easy-file 取消minio的导入 3 months ago
easy-generator first commit 10 months ago
easy-sample first commit 10 months ago
easy-scheduler first commit 10 months ago
easy-sys 新增需求1218 2 months ago
huzhou 完善判空逻辑 2 months ago
log.path_IS_UNDEFINED first commit 10 months ago
.gitignore first commit 10 months ago
CHANGELOG.md first commit 10 months ago
LICENSE first commit 10 months ago
README.md first commit 10 months ago
pom.xml first commit 10 months ago

README.md

Easy Vben

基于SpringBoot2、Druid、Mybatis Plus、Apache Shiro、Activiti、Beetl、HuTool、Quartz等开源框架开发,内置权限、部门、参数、字典、定时任务、代码生成等模块。
建议与 Easy-Vben-Admin 前端开源项目一起使用

文档

在线文档

下载

从 码云 仓库中直接安装最新的代码

$ git clone --depth=1 https://github.com/TengChongChong/Easy-Vben.git easy-vben

目录结构

├── db                   # Sql脚本
│   ├── activiti         # 工作流
│   ├── easy-vben.sql    # 基础 sql
│   ├── easy-cms.sql     # CMS sql
│   └── quartz.sql       # 定时任务
├── easy-activiti        # 工作流
├── easy-api             # 入口
├── easy-cms             # CMS
├── easy-common          # 工具
│   ├── easy-core        # 基础
│   ├── easy-mybatis     # MyBatis
│   └── easy-redis       # Redis
├── easy-file            # 文件
├── easy-generator       # 代码生成
├── easy-sample          # 示例
├── easy-scheduler       # 定时任务
└── easy-sys             # 系统

创建数据库

  • 创建数据库并执行/easy-admin/db/easy-vben.sql初始化表
  • 如需使用CMS功能执行/easy-admin/db/easy-cms.sql初始化表
  • 执行/easy-admin/db/activiti/*创建工作流表
  • 执行/easy-admin/db/quartz.sql创建定时任务表

配置数据源&Redis

打开/easy-admin/easy-api/src/main/resources/application-dev.yml文件,修改Redis数据源配置。 如果你使用默认的参数安装的RedisMySQL 只需修改spring.datasource.password即可。

spring:
  # Redis
  redis:
    # 数据库索引(默认为0)
    database: 0
    # 服务器地址
    host: 127.0.0.1
    # 服务器连接端口
    port: 6379
    # 服务器连接密码(默认为空)
    password:
  # 数据源,集成多数据源,此处仅需配置主数据源
  datasource:
    dynamic:
      datasource:
        master:
          url: jdbc:mysql://localhost:3306/easy-admin?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMulQueries=true&allowMultiQueries=true&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullDatabaseMeansCurrent=true&useInformationSchema=true
          username: root
          password: xxx

多数据源配置请参考多数据源配置

配置上传的文件存放路径

打开/easy-admin/easy-api/src/main/resources/application-dev.yml文件,修改文件存放路径

project:
  # 文件上传路径(不要写以~开头的路径会导致无法访问)
  file-upload-path: /Users/tengchong/development/easy-admin

此路径会被添加为静态资源映射地址

启动服务

执行com.easy.admin.Application启动服务