main v1.0
This commit is contained in:
42
target/classes/application-local.yml
Normal file
42
target/classes/application-local.yml
Normal file
@@ -0,0 +1,42 @@
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://127.0.0.1:3306/cool?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2b8
|
||||
username: root
|
||||
password: root
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
|
||||
# url: jdbc:postgresql://127.0.0.1:5432/cool
|
||||
# username: postgres
|
||||
# password: 123456
|
||||
# driver-class-name: org.postgresql.Driver
|
||||
# AutoTable配置,根据实体类自动生成表
|
||||
auto-table:
|
||||
# 启用自动维护表功能
|
||||
enable: true
|
||||
# 自动删除名称不匹配的索引
|
||||
autoDropIndex: true
|
||||
# 建表的时候,父类的字段排序是在子类后面还是前面
|
||||
superInsertPosition: before
|
||||
# 模型包路径
|
||||
model-package: com.cool.**.entity
|
||||
|
||||
# Cool相关配置
|
||||
cool:
|
||||
# 初始化数据
|
||||
initData: true
|
||||
|
||||
# 文档
|
||||
springdoc:
|
||||
api-docs:
|
||||
#是否开启文档功能 本地为了配合eps功能不可关闭
|
||||
enabled: true
|
||||
group-configs:
|
||||
- group: app
|
||||
paths-to-match: /app/**
|
||||
- group: admin
|
||||
paths-to-match: /admin/**
|
||||
|
||||
# 设置日志级别
|
||||
logging:
|
||||
level:
|
||||
com.cool: debug
|
||||
27
target/classes/application-prod.yml
Normal file
27
target/classes/application-prod.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://127.0.0.1:3306/cool?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2b8
|
||||
username: root
|
||||
password: 123456
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
|
||||
# AutoTable配置,根据实体类自动生成表
|
||||
auto-table:
|
||||
# 启用自动维护表功能
|
||||
enable: false
|
||||
|
||||
# Cool相关配置
|
||||
cool:
|
||||
# 初始化数据
|
||||
initData: false
|
||||
|
||||
# 文档
|
||||
springdoc:
|
||||
api-docs:
|
||||
#是否开启文档功能 本地为了配合eps功能不可关闭
|
||||
enabled: true
|
||||
|
||||
# 设置日志级别
|
||||
logging:
|
||||
level:
|
||||
com.cool: error
|
||||
162
target/classes/application.yml
Normal file
162
target/classes/application.yml
Normal file
@@ -0,0 +1,162 @@
|
||||
server:
|
||||
port: 8001
|
||||
servlet:
|
||||
context-path: /
|
||||
compression:
|
||||
enabled: true
|
||||
mime-types: application/json,application/xml,text/html,text/plain
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: cool-admin-java
|
||||
profiles:
|
||||
active: local
|
||||
thymeleaf:
|
||||
cache: false
|
||||
prefix: classpath:/templates/
|
||||
suffix: .html
|
||||
mode: HTML
|
||||
#返回时间格式化
|
||||
jackson:
|
||||
time-zone: GMT+8
|
||||
date-format: yyyy-MM-dd HH:mm:ss
|
||||
|
||||
servlet:
|
||||
multipart:
|
||||
enabled: true
|
||||
max-file-size: 100MB
|
||||
max-request-size: 100MB
|
||||
# Web设置
|
||||
web:
|
||||
resources:
|
||||
add-mappings: true
|
||||
static-locations: classpath:/static/,file:./assets/public/
|
||||
|
||||
# caffeine 缓存
|
||||
cache:
|
||||
type: caffeine
|
||||
file: assets/cache
|
||||
|
||||
#redis 缓存
|
||||
# cache:
|
||||
# type: redis
|
||||
# data:
|
||||
# redis:
|
||||
# host: 127.0.0.1
|
||||
# port: 6379
|
||||
# database: 0
|
||||
# password:
|
||||
quartz:
|
||||
job-store-type: jdbc
|
||||
jdbc:
|
||||
initialize-schema: always
|
||||
autoStartup: true
|
||||
#相关属性配置
|
||||
properties:
|
||||
org:
|
||||
quartz:
|
||||
scheduler:
|
||||
instanceName: CoolScheduler
|
||||
instanceId: AUTO
|
||||
jobStore:
|
||||
class: org.springframework.scheduling.quartz.LocalDataSourceJobStore
|
||||
driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
|
||||
tablePrefix: QRTZ_
|
||||
isClustered: true
|
||||
clusterCheckinInterval: 10000
|
||||
useProperties: false
|
||||
threadPool:
|
||||
class: org.quartz.simpl.SimpleThreadPool
|
||||
threadCount: 5
|
||||
threadPriority: 9
|
||||
threadsInheritContextClassLoaderOfInitializingThread: true
|
||||
|
||||
# 忽略url
|
||||
ignored:
|
||||
# 忽略后台鉴权url
|
||||
adminAuthUrls:
|
||||
- /
|
||||
- /upload/**
|
||||
- /actuator/**
|
||||
- /download/**
|
||||
- /static/**
|
||||
- /favicon.ico
|
||||
- /v3/api-docs/**
|
||||
- /swagger
|
||||
- /swagger-ui/**
|
||||
- /css/*
|
||||
- /js/*
|
||||
- /druid/**
|
||||
- /admin/base/open/**
|
||||
# 忽略记录请求日志url
|
||||
logUrls:
|
||||
- /
|
||||
- /**/eps
|
||||
- /app/**
|
||||
- /css/*
|
||||
- /js/*
|
||||
- /favicon.ico
|
||||
# 文档
|
||||
springdoc:
|
||||
api-docs:
|
||||
#swagger后端请求地址
|
||||
path: /v3/api-docs
|
||||
swagger-ui:
|
||||
#自定义swagger前端请求路径,输入http://127.0.0.1:端口号/swagger会自动重定向到swagger页面
|
||||
path: /swagger
|
||||
|
||||
mybatis-flex:
|
||||
#多数据源
|
||||
# datasource:
|
||||
#MyBatis 配置文件位置,如果有单独的 MyBatis 配置,需要将其路径配置到 configLocation 中
|
||||
# configuration:
|
||||
#MyBatis Mapper 所对应的 XML 文件位置,如果在 Mapper 中有自定义的方法(XML 中有自定义的实现),需要进行该配置,指定 Mapper 所对应的 XML 文件位置
|
||||
mapper-locations: [ "classpath*:/mapper/**/*.xml" ]
|
||||
type-aliases-package: com.cool.**.entity.*
|
||||
global-config:
|
||||
print-banner: false
|
||||
|
||||
|
||||
# Cool相关配置
|
||||
cool:
|
||||
# 缓存名称
|
||||
cacheName: comm
|
||||
plugin:
|
||||
# 插件安装位置
|
||||
path: assets/plugin
|
||||
# token 相关配置
|
||||
token:
|
||||
# 过期时间 单位:秒 半小时
|
||||
expire: 1800
|
||||
# 刷新token过期时间 单位:秒 7天
|
||||
refreshExpire: 604800
|
||||
# 文件上传相关
|
||||
file:
|
||||
#上传模式
|
||||
mode: local
|
||||
# 本地上传配置
|
||||
local:
|
||||
# 文件访问地址
|
||||
base-url: http://127.0.0.1:${server.port}/upload
|
||||
# 系统日志请求参数超过1024字节 就不记录,避免日志过大
|
||||
log:
|
||||
# 请求参数最大字节,超过请求参数不记录
|
||||
max-byte-length: 1024
|
||||
# 核心线程数的倍数
|
||||
core-pool-size-multiplier: 2
|
||||
# 最大线程数的倍数
|
||||
max-pool-size-multiplier: 3
|
||||
# 队列容量的倍数
|
||||
queue-capacity-multiplier: 3
|
||||
multi-tenant:
|
||||
# 是否开启多租户,默认关闭
|
||||
enable: false
|
||||
# AutoTable配置,根据实体类自动生成表
|
||||
auto-table:
|
||||
show-banner: false
|
||||
|
||||
# 分布式唯一ID组件
|
||||
leaf:
|
||||
segment:
|
||||
# 默认禁用
|
||||
enable: false
|
||||
8
target/classes/banner.txt
Normal file
8
target/classes/banner.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
🚀🚀🚀 ✨🌈✨[cool-admin-java-plus](https://gitee.com/hlc4417/cool-admin-java-plus)✨🌈✨ 🚀🚀🚀
|
||||
______ ___ ___ _____ _ ______ ____ ____ _____ ____ _____
|
||||
.' ___ | .' `. .' `.|_ _| V8.x / \ |_ _ `.|_ \ / _||_ _||_ \|_ _|
|
||||
/ .' \_|/ .-. \/ .-. \ | | ______ / _ \ | | `. \ | \/ | | | | \ | |
|
||||
| | | | | || | | | | | _|______|/ ___ \ | | | | | |\ /| | | | | |\ \| |
|
||||
\ `.___.'\\ `-' /\ `-' /_| |__/ | _/ / \ \_ _| |_.' /_| |_\/_| |_ _| |_ _| |_\ |_
|
||||
`.____ .' `.___.' `.___.'|________| |____| |____||______.'|_____||_____||_____||_____|\____|
|
||||
:: https://java.cool-admin.com ::
|
||||
BIN
target/classes/com/cool/CoolApplication.class
Normal file
BIN
target/classes/com/cool/CoolApplication.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/Welcome.class
Normal file
BIN
target/classes/com/cool/Welcome.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/annotation/ColumnDefine.class
Normal file
BIN
target/classes/com/cool/core/annotation/ColumnDefine.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/annotation/CoolPlugin.class
Normal file
BIN
target/classes/com/cool/core/annotation/CoolPlugin.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/annotation/CoolRestController.class
Normal file
BIN
target/classes/com/cool/core/annotation/CoolRestController.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/annotation/EpsField.class
Normal file
BIN
target/classes/com/cool/core/annotation/EpsField.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/annotation/IgnoreRecycleData.class
Normal file
BIN
target/classes/com/cool/core/annotation/IgnoreRecycleData.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/annotation/NoRepeatSubmit.class
Normal file
BIN
target/classes/com/cool/core/annotation/NoRepeatSubmit.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/annotation/TokenIgnore.class
Normal file
BIN
target/classes/com/cool/core/annotation/TokenIgnore.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/aop/NoRepeatSubmitAspect.class
Normal file
BIN
target/classes/com/cool/core/aop/NoRepeatSubmitAspect.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/base/BaseController$1.class
Normal file
BIN
target/classes/com/cool/core/base/BaseController$1.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/base/BaseController.class
Normal file
BIN
target/classes/com/cool/core/base/BaseController.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/base/BaseEntity.class
Normal file
BIN
target/classes/com/cool/core/base/BaseEntity.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/base/BaseService.class
Normal file
BIN
target/classes/com/cool/core/base/BaseService.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/base/BaseServiceImpl.class
Normal file
BIN
target/classes/com/cool/core/base/BaseServiceImpl.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/base/ModifyEnum.class
Normal file
BIN
target/classes/com/cool/core/base/ModifyEnum.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/base/TenantEntity.class
Normal file
BIN
target/classes/com/cool/core/base/TenantEntity.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
target/classes/com/cool/core/cache/CoolCache$ToCacheData.class
vendored
Normal file
BIN
target/classes/com/cool/core/cache/CoolCache$ToCacheData.class
vendored
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/cache/CoolCache.class
vendored
Normal file
BIN
target/classes/com/cool/core/cache/CoolCache.class
vendored
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/code/CodeGenerator.class
Normal file
BIN
target/classes/com/cool/core/code/CodeGenerator.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/code/CodeModel.class
Normal file
BIN
target/classes/com/cool/core/code/CodeModel.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/code/CodeTypeEnum.class
Normal file
BIN
target/classes/com/cool/core/code/CodeTypeEnum.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/config/CoolProperties.class
Normal file
BIN
target/classes/com/cool/core/config/CoolProperties.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/config/CustomOpenApiResource.class
Normal file
BIN
target/classes/com/cool/core/config/CustomOpenApiResource.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/config/FileModeEnum.class
Normal file
BIN
target/classes/com/cool/core/config/FileModeEnum.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/config/FileProperties.class
Normal file
BIN
target/classes/com/cool/core/config/FileProperties.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
target/classes/com/cool/core/config/JacksonConfig.class
Normal file
BIN
target/classes/com/cool/core/config/JacksonConfig.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/config/LocalFileProperties.class
Normal file
BIN
target/classes/com/cool/core/config/LocalFileProperties.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/config/LogDiscardPolicy.class
Normal file
BIN
target/classes/com/cool/core/config/LogDiscardPolicy.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/config/LogProperties.class
Normal file
BIN
target/classes/com/cool/core/config/LogProperties.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
target/classes/com/cool/core/config/OssFileProperties.class
Normal file
BIN
target/classes/com/cool/core/config/OssFileProperties.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/config/PluginJson.class
Normal file
BIN
target/classes/com/cool/core/config/PluginJson.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/config/SwaggerConfig.class
Normal file
BIN
target/classes/com/cool/core/config/SwaggerConfig.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/config/ThreadPoolConfig.class
Normal file
BIN
target/classes/com/cool/core/config/ThreadPoolConfig.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/config/TokenProperties.class
Normal file
BIN
target/classes/com/cool/core/config/TokenProperties.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/config/cache/CaffeineConfig$CacheLoader.class
vendored
Normal file
BIN
target/classes/com/cool/core/config/cache/CaffeineConfig$CacheLoader.class
vendored
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/config/cache/CaffeineConfig.class
vendored
Normal file
BIN
target/classes/com/cool/core/config/cache/CaffeineConfig.class
vendored
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/config/cache/RedisConfig.class
vendored
Normal file
BIN
target/classes/com/cool/core/config/cache/RedisConfig.class
vendored
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/enums/AdminComponentsEnum.class
Normal file
BIN
target/classes/com/cool/core/enums/AdminComponentsEnum.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/enums/Apis.class
Normal file
BIN
target/classes/com/cool/core/enums/Apis.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/enums/QueryModeEnum.class
Normal file
BIN
target/classes/com/cool/core/enums/QueryModeEnum.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/enums/UserTypeEnum.class
Normal file
BIN
target/classes/com/cool/core/enums/UserTypeEnum.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/eps/CoolEps.class
Normal file
BIN
target/classes/com/cool/core/eps/CoolEps.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/eps/EpsEvent.class
Normal file
BIN
target/classes/com/cool/core/eps/EpsEvent.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/exception/CoolException.class
Normal file
BIN
target/classes/com/cool/core/exception/CoolException.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
target/classes/com/cool/core/exception/CoolPreconditions.class
Normal file
BIN
target/classes/com/cool/core/exception/CoolPreconditions.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
target/classes/com/cool/core/file/UpLoadModeType.class
Normal file
BIN
target/classes/com/cool/core/file/UpLoadModeType.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
target/classes/com/cool/core/i18n/I18nGenerator.class
Normal file
BIN
target/classes/com/cool/core/i18n/I18nGenerator.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/init/CoolPluginInit.class
Normal file
BIN
target/classes/com/cool/core/init/CoolPluginInit.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
target/classes/com/cool/core/init/DBFromJsonInit.class
Normal file
BIN
target/classes/com/cool/core/init/DBFromJsonInit.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/init/IDGenInit.class
Normal file
BIN
target/classes/com/cool/core/init/IDGenInit.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/leaf/IDGenService.class
Normal file
BIN
target/classes/com/cool/core/leaf/IDGenService.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/leaf/common/CheckVO.class
Normal file
BIN
target/classes/com/cool/core/leaf/common/CheckVO.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/leaf/common/Result.class
Normal file
BIN
target/classes/com/cool/core/leaf/common/Result.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/leaf/common/Status.class
Normal file
BIN
target/classes/com/cool/core/leaf/common/Status.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/leaf/package-info.class
Normal file
BIN
target/classes/com/cool/core/leaf/package-info.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
target/classes/com/cool/core/leaf/segment/SegmentIDGenImpl.class
Normal file
BIN
target/classes/com/cool/core/leaf/segment/SegmentIDGenImpl.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
target/classes/com/cool/core/leaf/segment/model/Segment.class
Normal file
BIN
target/classes/com/cool/core/leaf/segment/model/Segment.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
target/classes/com/cool/core/lock/CoolLock.class
Normal file
BIN
target/classes/com/cool/core/lock/CoolLock.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
target/classes/com/cool/core/plugin/consts/PluginConsts.class
Normal file
BIN
target/classes/com/cool/core/plugin/consts/PluginConsts.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/plugin/event/PluginActionEnum.class
Normal file
BIN
target/classes/com/cool/core/plugin/event/PluginActionEnum.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/plugin/event/PluginEvent.class
Normal file
BIN
target/classes/com/cool/core/plugin/event/PluginEvent.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
target/classes/com/cool/core/request/CrudOption.class
Normal file
BIN
target/classes/com/cool/core/request/CrudOption.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/request/PageResult$Pagination.class
Normal file
BIN
target/classes/com/cool/core/request/PageResult$Pagination.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/request/PageResult.class
Normal file
BIN
target/classes/com/cool/core/request/PageResult.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/request/R.class
Normal file
BIN
target/classes/com/cool/core/request/R.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/request/RequestParamsFilter$1.class
Normal file
BIN
target/classes/com/cool/core/request/RequestParamsFilter$1.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/request/RequestParamsFilter.class
Normal file
BIN
target/classes/com/cool/core/request/RequestParamsFilter.class
Normal file
Binary file not shown.
BIN
target/classes/com/cool/core/request/RestInterceptor.class
Normal file
BIN
target/classes/com/cool/core/request/RestInterceptor.class
Normal file
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user