########################################################## ################## 所有profile共有的配置 ################# ########################################################## spring: profiles: active: dev servlet: multipart: max-file-size: 200MB max-request-size: 1000MB activiti: #1.flase:默认值。activiti在启动时,对比数据库表中保存的版本,如果没有表或者版本不匹配,将抛出异常 #2.true: activiti会对数据库中所有表进行更新操作。如果表不存在,则自动创建 #3.create_drop: 在activiti启动时创建表,在关闭时删除表(必须手动关闭引擎,才能删除表) #4.drop-create: 在activiti启动时删除原来的旧表,然后在创建新表(不需要手动关闭引擎) database-schema-update: true #检测历史表是否存在 activiti7默认没有开启数据库历史记录 启动数据库历史记录 db-history-used: true #记录历史等级 可配置的历史级别有none, activity, audit, full #none:不保存任何的历史数据,因此,在流程执行过程中,这是最高效的。 #activity:级别高于none,保存流程实例与流程行为,其他数据不保存。 #audit:除activity级别会保存的数据外,还会保存全部的流程任务及其属性。audit为history的默认值。 #full:保存历史数据的最高级别,除了会保存audit级别的数据外,还会保存其他全部流程相关的细节数据,包括一些流程参数等。 history-level: full #校验流程文件,默认校验resources下的processes文件夹里的流程文件 check-process-definitions: false #启用作业执行器 async-executor-activate: false #启用异步执行器 job-executor-activate: false mybatis-plus: global-config: #字段策略 0:"所有字段都更新和插入" 1:"只更新和插入非NULL值" 2:"只更新和插入非NULL值且非空字符串" #field-strategy: 1 enable-sql-runner: true db-config: insert-strategy: not_empty update-strategy: not_empty where-strategy: not_empty logic-delete-field: isDel #全局逻辑删除实体字段名 logic-delete-value: 1 #逻辑已删除值 logic-not-delete-value: 0 #逻辑未删除值 #MyBatis-Plus默认的主键策略是:ASSIGN_ID (使用了雪花算法) configuration: # 配置结果集属性为空时 是否映射返回结果 log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #打印sql语句,调试用 map-underscore-to-camel-case: true mapper-locations: classpath*:/mapper/**/*.xml,classpath:com/casic/missiles/modular/system/dao/**/*.xml minio: # endpoint: http://127.0.0.1:9000 endpoint: http://111.198.10.15:21408 #本地 #测试环境,Access Keys中生成accessKey、secretKey #账号密码:admin、admin123 #账号密码:minioadmin、minioadmin #端口:启动两个端口API、Console #minio服务重启会导致accessKey、secretKey更新,需重新配置 accessKey: N5YL2gqg3fTByXXI secretKey: ygOJeueOvLBgi78AG13n201XCoU6Xcze bucketName: test # region: us-east-1 xxl: job: admin: # xxl-job后台管理界面的地址 addresses: http://111.198.10.15:21605/xxl-job-admin executor: # 此执行器的名称 appname: casic-metering-job # 此执行器的ip、端口,每个节点对应自己的ip,端口用于任务执行的通信 ip: 127.0.0.1 port: 9999 # 此执行器的日志存放路径 logpath: logs/xxl-job/casic-metering-job # 此执行器的日志保存时间 logretentiondays: 7 accessToken: default_token flowable: dmn: enabled: false cmmn: enabled: false idm: enabled: false #异步执行 async-history-executor-activate: false async-executor-activate: false #流程定义检查 check-process-definitions: false content: enabled: false app: enabled: false eventregistry: enabled: false #校验流程文件,默认校验resources下的processes文件夹里的流程文件 #process-definition-location-prefix: classpath*:/processes/ #process-definition-location-suffixes: "**.bpmn20.xml, **.bpmn" casic: swagger-open: false #是否开启swagger (true/false) kaptcha-open: false #是否开启登录时验证码 (true/false) muti-datasource-open: false #是否开启多数据源(true/false) spring-session-open: false #是否开启spring session,如果是多机环境需要开启(true/false) session-invalidate-time: 86400 #session失效时间(只在单机环境下生效,,多机环境在SpringSessionConfig类中配置) 单位:秒 session-validation-interval: 900 #多久检测一次失效的session(只在单机环境下生效) 单位:秒 no-login-urls: /user/login,/kaptcha,/config/baseConfig config: export-path: D:\java\boot\guns-web-1.0.0-SNAPSHOT\export\ config-path: E:\Develop\IdeaProject\smartcity\casic-smartcity-dcms\casic-web\src\main\resources\config\ file: dir: D:\cz\203\file #代码生成器配置 code: generate: #作者 author: cz #待生成对象表名 table-name: system_download_center