spring: application: name: base datasource: dynamic: datasource: master: #开发环境配置 username: root password: Peony2021 driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://123.60.140.65:10002/lpg_dev_1?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=convertToNull&autoReconnect=true&failOverReadOnly=false&maxReconnects=10&allowMultiQueries=true #生产环境配置 # username: root # password: Carbon@2024 # driver-class-name: com.mysql.cj.jdbc.Driver # url: jdbc:mysql://localhost:13307/lpg?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=convertToNull&autoReconnect=true&failOverReadOnly=false&maxReconnects=10&allowMultiQueries=true druid: filters: stat # druid oracle 验证语句 # validation-query: select 1 from dual connectionProperties: resultSetMetaDataOptions: 1 wall: #开启druid允许执行多条SQL multiStatementAllow: true #public-key: MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAIobgl5Uq9fEW2V6dLXqWJKDUZGAA3CCVasj1Yxge3STiWZ1plhxBUQgNgyRYeEUrUHzYPozfm0kL/zLlHMzcnUCAwEAAQ== redis: database: 12 host: localhost port: 6379 password: activemq: # broker-url: tcp://localhost:61616 in-memory: true # 单服务部署时可以使用内嵌的mq服务,此时需要注释掉broker-url配置 user: password: kafka: bootstrap-servers: 127.0.0.1:9092 rocketmq: namesrvAddr: 127.0.0.1:9876 main: allow-circular-references: true # 解决升级 Spring Boot 2.6后,因循环引用导致启动时报错的问题 mvc: pathmatch: matching-strategy: ant_path_matcher # 解决升级 Spring Boot 2.6后,swagger升级的问题 lpg: distance: 10000 #距离 单位:公里 server: port: 60011 servlet: context-path: /api # 1. redis.enable=false 时无论redis.caffeine.enabled配置为true还是false均使用caffeine作为缓存 # 2. redis.enable=true 且 redis.caffeine.enabled=false 仅仅使用redis作为缓存 # 3. redis.enable=true 且 redis.caffeine.enabled=true 则caffeine为一级缓存,redis作为二级缓存 redis: enable: false caffeine: enabled: true jms: enable: true init-queue: true bpmModel: true bpmRuntime: true portal: true uc: true form: true # feign配置 feign: hystrix: enabled: true httpclient: enabled: true mockmvcclient: eip-auth,eip-bpm-model,eip-bpm-runtime,eip-form,eip-portal,eip-uc,api-manager-eip-*,eip-lpg # 是否启用basic认证(注意开启时可以通过auth0请求接口,安全性较低) jwt.basic: false # 配置日志 logging: level: # log 级别 root: info security: enabled: false ignoreUnknownFields: false #RequestBody接口的参数是否可以忽略不认识的属性 如果忽略有可能造成API成批分配的漏洞 false 忽略 true 不忽略 sql: excludes: - /swagger-resources/configuration/ui - /swagger-resources - /swagger-resources/configuration/security - /swagger-ui.html - /proxy.stream - /hystrix.stream - /druid/* - /hystrix/* xss: excludes: - /form/form/v1/saveForm # 保存表单设计 - /auth - /form/form/v1/saveFormJs # 保存表单设计引入的脚本 - /portal/sysIndexLayoutManage/sysIndexLayoutManage/v1/saveLayout #门户设计保存门户 - /portalNewsNotice/v1/* #保存新闻公告非外部链接使用富文本时 - /form/dataTemplate/v1/save #数据应用表单列表的保存 - /form/dataTemplate/v1/saveTemplate #数据应用表单列表编辑模板的保存 - /form/query/querySqldef/save #数据应用数据列表的保存 - /portalAppParam/v1/ #应用模块——pc模块——管理某个模块——应用详情——保存的详情里面有富文本类型时 - /flow/def/v1/saveProp #流程设计——流程定义——流程的其他设置,保存含有脚本的设置 - /flow/MsgTemplate/v1/save #流程中心——辅助功能——消息模板保存 - /runtime/conditionScript/v1/testScript #流程中心——辅助功能——人员脚本-测试脚本 - /runtime/script/v1/save #流程中心——辅助功能——常用脚本的保存 - /portal/sysIndexColumn/sysIndexColumn/v1/save #门户设计——保存栏目 - /runtime/script/v1/executeScript #测试脚本 - /form/template/v1/save #模板管理(比如宏模板) - /portalUrlPermission/v1/insert #外部接口授权 - /flow/node/v1/saveDefConf #保存流程配置 - /flow/node/v1/branchConditionSave #分支网关保存 - /flow/def/v1/webDefSave #保存流程定义 - /form/formServiceController/v1/importFormAndBo #导入表单和Bo - /flow/def/v1/importCheck #表单校验 - /form/query/queryView/saveTemplate #视图模板 - /form/query/queryView/save #保存视图 mybatis-plus: configuration: # 打印执行的SQL语句及返回的数据 #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl system: flow: tasksInStartResult: false # 启动流程后马上查询该实例属于发起人的待办任务 captcha: # 是否启用图形验证码 0-不启用;1-启用且限制失败次数;2-一直启用 isEnabled: 1 maxFailedCount: 5 external: # 第三方应用扫码登录跳转地址,必须为域名 redirectUri: http://hteip.vaiwan.com/front/login eip: tokenParameter: allowUrls: - /system/file/v1/downloadFile - /onlinePreview - /picturesPreview - /imagesPreview - /getPreviewFile/** - /temps/** office: plugin: server: ports: 2001,2002 enabled: true fdfs: so-timeout: 1501 connect-timeout: 601 thumb-image: #缩略图生成参数 width: 150 height: 150 tracker-list: #TrackerList参数,支持多个 - 192.168.1.14:22122 web-server-url: http://192.168.1.14:8888/ sms: yzmtemplate: 1055687 #短信验证码模板(暂用基础物业的,后续申请模板),模板 ID: 必须填写已审核通过的模板 ID。模板ID可登录 [短信控制台] 查看 sign: 牡丹电子 #短信签名内容: 使用 UTF-8 编码,必须填写已审核通过的签名,签名信息可登录 [短信控制台] 查看 secretId: AKIDylJcgT1KM7bnmV4PTGm2pQliRv97rLYU #腾讯云账户密钥对secretId,secretKey secretKey: h7JEtmW2KNBk4B5lCNIwJQGrCNM6ctxo skdAppId: 1400554263 #短信应用ID: 短信SdkAppId在 [短信控制台] 添加应用后生成的实际SdkAppId,示例如1400006666 qprk: dsfurl-enable: true #气瓶入库时,不是本系统中的气瓶是否获取第三方气瓶数据开关 #阿里大于短信配置 alisms: sign-name: '武汉枫谷未来科技' access-keyId: 'LTAI5t6mq12H6cc951hPZ4gE' secret: 'vWohD3fXeCEX9r2q4vh41CPwFy8xqU' domain: 'dysmsapi.aliyuncs.com' sms-up-extend-code: '90997' template-code: 'SMS_467590230' qydp: manageCode: qyfzr,qygl,czfzr deliveryCode: psy,sqg checkCode: xtgly qpsmlj: dsfUrlPrefix: https://qp.cnjifen.cn/a.ashx?d= jdbcParam: jdbcurl: jdbc:mysql://123.60.140.65:10002/lpg_dev_1 username: root password: Peony2021