mirror of
https://gitee.com/orangeform/orange-admin.git
synced 2026-01-18 11:06:36 +08:00
commit:升级到vue3,更新最近工作流技术栈,支持sa-token
This commit is contained in:
@@ -0,0 +1,164 @@
|
||||
logging:
|
||||
level:
|
||||
# 这里设置的日志级别优先于logback-spring.xml文件Loggers中的日志级别。
|
||||
com.orangeforms: info
|
||||
config: classpath:logback-spring.xml
|
||||
|
||||
server:
|
||||
port: 8082
|
||||
tomcat:
|
||||
uri-encoding: UTF-8
|
||||
threads:
|
||||
max: 100
|
||||
min-spare: 10
|
||||
servlet:
|
||||
encoding:
|
||||
force: true
|
||||
charset: UTF-8
|
||||
enabled: true
|
||||
|
||||
# spring相关配置
|
||||
spring:
|
||||
application:
|
||||
name: application-webadmin
|
||||
profiles:
|
||||
active: dev
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 50MB
|
||||
max-request-size: 50MB
|
||||
mvc:
|
||||
converters:
|
||||
preferred-json-mapper: fastjson
|
||||
main:
|
||||
allow-circular-references: true
|
||||
groovy:
|
||||
template:
|
||||
check-template-location: false
|
||||
|
||||
flowable:
|
||||
async-executor-activate: false
|
||||
database-schema-update: false
|
||||
|
||||
mybatis-flex:
|
||||
mapper-locations: classpath:com/orangeforms/webadmin/*/dao/mapper/*Mapper.xml,com/orangeforms/common/log/dao/mapper/*Mapper.xml,com/orangeforms/common/online/dao/mapper/*Mapper.xml,com/orangeforms/common/flow/dao/mapper/*Mapper.xml
|
||||
type-aliases-package: com.orangeforms.webadmin.*.model,com.orangeforms.common.log.model,com.orangeforms.common.online.model,com.orangeforms.common.flow.model
|
||||
global-config:
|
||||
deleted-value-of-logic-delete: -1
|
||||
normal-value-of-logic-delete: 1
|
||||
|
||||
# 自动分页的配置
|
||||
pagehelper:
|
||||
helperDialect: mysql
|
||||
reasonable: true
|
||||
supportMethodsArguments: false
|
||||
params: count=countSql
|
||||
|
||||
common-core:
|
||||
# 可选值为 mysql / postgresql / oracle / dm8 / kingbase / opengauss
|
||||
databaseType: mysql
|
||||
|
||||
common-online:
|
||||
# 注意不要以反斜杠(/)结尾。
|
||||
urlPrefix: /admin/online
|
||||
# 打印接口的路径,不要以反斜杠(/)结尾。
|
||||
printUrlPath: /admin/report/reportPrint/print
|
||||
# 在线表单业务数据上传资源路径
|
||||
uploadFileBaseDir: ./zz-resource/upload-files/online
|
||||
# 如果为false,在线表单模块中所有Controller接口将不能使用。
|
||||
operationEnabled: true
|
||||
# 1: minio 2: aliyun-oss 3: qcloud-cos。
|
||||
distributeStoreType: 1
|
||||
# 调用render接口时候,是否打开一级缓存加速。
|
||||
enableRenderCache: false
|
||||
# 业务表和在线表单内置表是否跨库。
|
||||
enabledMultiDatabaseWrite: true
|
||||
# 脱敏字段的掩码字符,只能为单个字符。
|
||||
maskChar: '*'
|
||||
# 下面的url列表,请保持反斜杠(/)结尾。
|
||||
viewUrlList:
|
||||
- ${common-online.urlPrefix}/onlineOperation/viewByDatasourceId/
|
||||
- ${common-online.urlPrefix}/onlineOperation/viewByOneToManyRelationId/
|
||||
- ${common-online.urlPrefix}/onlineOperation/listByDatasourceId/
|
||||
- ${common-online.urlPrefix}/onlineOperation/listByOneToManyRelationId/
|
||||
- ${common-online.urlPrefix}/onlineOperation/exportByDatasourceId/
|
||||
- ${common-online.urlPrefix}/onlineOperation/exportByOneToManyRelationId/
|
||||
- ${common-online.urlPrefix}/onlineOperation/downloadDatasource/
|
||||
- ${common-online.urlPrefix}/onlineOperation/downloadOneToManyRelation/
|
||||
- ${common-online.urlPrefix}/onlineOperation/print/
|
||||
editUrlList:
|
||||
- ${common-online.urlPrefix}/onlineOperation/addDatasource/
|
||||
- ${common-online.urlPrefix}/onlineOperation/addOneToManyRelation/
|
||||
- ${common-online.urlPrefix}/onlineOperation/updateDatasource/
|
||||
- ${common-online.urlPrefix}/onlineOperation/updateOneToManyRelation/
|
||||
- ${common-online.urlPrefix}/onlineOperation/deleteDatasource/
|
||||
- ${common-online.urlPrefix}/onlineOperation/deleteOneToManyRelation/
|
||||
- ${common-online.urlPrefix}/onlineOperation/deleteBatchDatasource/
|
||||
- ${common-online.urlPrefix}/onlineOperation/deleteBatchOneToManyRelation/
|
||||
- ${common-online.urlPrefix}/onlineOperation/uploadDatasource/
|
||||
- ${common-online.urlPrefix}/onlineOperation/uploadOneToManyRelation/
|
||||
- ${common-online.urlPrefix}/onlineOperation/importDatasource/
|
||||
|
||||
common-flow:
|
||||
# 请慎重修改urlPrefix的缺省配置,注意不要以反斜杠(/)结尾。如必须修改其他路径,请同步修改数据库脚本。
|
||||
urlPrefix: /admin/flow
|
||||
# 如果为false,流程模块的所有Controller中的接口将不能使用。
|
||||
operationEnabled: true
|
||||
|
||||
common-swagger:
|
||||
# 当enabled为false的时候,则可禁用swagger。
|
||||
enabled: true
|
||||
# 工程的基础包名。
|
||||
basePackage: com.orangeforms
|
||||
# 工程服务的基础包名。
|
||||
serviceBasePackage: com.orangeforms.webadmin
|
||||
title: 橙单单体服务工程
|
||||
description: 橙单单体服务工程详情
|
||||
version: 1.0
|
||||
|
||||
springdoc:
|
||||
swagger-ui:
|
||||
path: /swagger-ui.html
|
||||
tags-sorter: alpha
|
||||
#operations-sorter: order
|
||||
api-docs:
|
||||
path: /v3/api-docs
|
||||
default-flat-param-object: false
|
||||
|
||||
common-datafilter:
|
||||
tenant:
|
||||
# 对于单体服务,该值始终为false。
|
||||
enabled: false
|
||||
dataperm:
|
||||
enabled: true
|
||||
# 在拼接数据权限过滤的SQL时,我们会用到sys_dept_relation表,该表的前缀由此配置项指定。
|
||||
# 如果没有前缀,请使用 "" 。
|
||||
deptRelationTablePrefix: zz_
|
||||
# 是否在每次执行数据权限查询过滤时,都要进行菜单Id和URL之间的越权验证。如果使用SaToken权限框架,该参数必须为false。
|
||||
enableMenuPermVerify: false
|
||||
|
||||
# 暴露监控端点
|
||||
management:
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: '*'
|
||||
jmx:
|
||||
exposure:
|
||||
include: '*'
|
||||
endpoint:
|
||||
# 与中间件相关的健康详情也会被展示
|
||||
health:
|
||||
show-details: always
|
||||
configprops:
|
||||
# 在/actuator/configprops中,所有包含password的配置,将用 * 隐藏。
|
||||
# 如果不想隐藏任何配置项的值,可以直接使用如下被注释的空值。
|
||||
# keys-to-sanitize:
|
||||
keys-to-sanitize: password
|
||||
server:
|
||||
base-path: "/"
|
||||
|
||||
common-log:
|
||||
# 操作日志配置,对应配置文件common-log/OperationLogProperties.java
|
||||
operation-log:
|
||||
enabled: true
|
||||
Reference in New Issue
Block a user