| | |
| | | #type-aliases-package: com.dy.pipIrrGlobal.daoBa |
| | | configuration: |
| | | #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #时而输出日志,时而不输出日志 |
| | | log-impl: org.apache.ibatis.logging.log4j2.Log4j2Impl |
| | | #log-impl: org.apache.ibatis.logging.log4j2.Log4j2Impl 不再应用,改为PrintSqlInterceptor拦截器输出sql日志,下面print-sql项配置 |
| | | print-sql: true # 输出sql日志开关,控制PrintSqlInterceptor拦截器是否加载 |
| | | #开启驼峰uName自动映射到u_name |
| | | #2023-10-24经实验,下面配置true或false,都能从u_name映射到uName |
| | | #map-underscore-to-camel-case: true |
| | |
| | | webPort: 8089 |
| | | actutorPort: 9089 |
| | | idSuffix: 11 |
| | | # 2023-10-24新增,用于执行临时任务,例如删除数据库中上些出错的数据 |
| | | temp: |
| | | webPort: 8099 |
| | | actutorPort: 9099 |
| | | idSuffix: 98 |
| | | |
| | | # 分布式web文件系统 |
| | | file: |
| | | idSuffix: 99 |
| | | file1: |
| | |
| | | #通讯中间件相关配置 |
| | | #protocol: DYJS_2023,DYJS_2024 |
| | | mw: |
| | | #命令发送地址(中缀是机构tag,其也是数据源后缀名称) |
| | | #命令发送通信中间件地址 |
| | | ym: |
| | | url: "http://127.0.0.1:8070" |
| | | comSendUrl: "http://127.0.0.1:8070/rtuMw/com/send" |
| | | rtuLogFileUrl: "http://127.0.0.1:8070/rtuMw/com/rtuLogFile" |
| | | rtuLogTextUrl: "http://127.0.0.1:8070/rtuMw/com/rtuLogText" |
| | | mj: |
| | | url: "http://127.0.0.1:8071" |
| | | comSendUrl: "http://127.0.0.1:8071/rtuMw/com/send" |
| | | mq: |
| | | url: "http://127.0.0.1:8100" |
| | | comSendUrl: "http://127.0.0.1:8100/rtuMw/com/send" |
| | | sp: |
| | | url: "http://127.0.0.1:8073" |
| | | comSendUrl: "http://127.0.0.1:8073/rtuMw/com/send" |
| | | rtuLogFileUrl: "http://127.0.0.1:8073/rtuMw/com/rtuLogFile" |
| | | rtuLogTextUrl: "http://127.0.0.1:8073/rtuMw/com/rtuLogText" |
| | | test: |
| | | url: "http://127.0.0.1:8072" |
| | | comSendUrl: "http://127.0.0.1:8072/rtuMw/com/send" |
| | | rtuLogFileUrl: "http://127.0.0.1:8072/rtuMw/com/rtuLogFile" |
| | | rtuLogTextUrl: "http://127.0.0.1:8072/rtuMw/com/rtuLogText" |
| | | #监测控制模块回调地址 |
| | | rtuCallbackUrl_rm: "http://127.0.0.1:8081/remote/comRes/receive" |
| | | #rtu远程升级模块回调地址 |
| | | ugCallbackUrl_rm: "http://127.0.0.1:8081/remote/rtuUpgradeStateReceiver/receive" |
| | | #微信小程序回调地址 |
| | | rtuCallbackUrl_wx: "http://127.0.0.1:8087/wx/comRes/receive" |
| | | |
| | |
| | | urls: |
| | | - /sso/sso |
| | | - /remote/comRes/receive |
| | | - /remote/rtuUpgradeStateReceiver/receive |
| | | - /wx/comRes/receive |
| | | - /app/captcha/get |
| | | - /file/file #web分布式文件系统 |
| | |
| | | |
| | | #自动统计配置,自动统计定时任务会每天定时进行 |
| | | auto-statistics: |
| | | startHour: 0 #开始小时 0 |
| | | startHour: 0 #开始小时,必须是0点或之后,取值范围是0~5,否StatisticsListener中自动设置成0 |
| | | startMinute: 5 #开始分钟 5 |
| | | |
| | | #钉钉消息推送 |
| | | dingtalk: |
| | | ym: |
| | | enable: true #是否启用 |
| | | robot: |
| | | url: https://oapi.dingtalk.com/robot/send |
| | | access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f |
| | | secret: SEC6042bc964d08899a5853eb321eb5a4d842a395982777f815bd07451c879228b7 |
| | | at-all: true |
| | | mobile: 18602657034 |
| | | mj: |
| | | enable: true #是否启用 |
| | | robot: |
| | | url: https://oapi.dingtalk.com/robot/send |
| | | access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f |
| | | secret: SEC6042bc964d08899a5853eb321eb5a4d842a395982777f815bd07451c879228b7 |
| | | at-all: true |
| | | mobile: 18602657034 |
| | | mq: |
| | | enable: true #是否启用 |
| | | robot: |
| | | url: https://oapi.dingtalk.com/robot/send |
| | |
| | | #虚拟卡配置参数 |
| | | vc: |
| | | #虚拟卡最低余额报警值 |
| | | alarmValue: 10 |
| | | |
| | | rocketmq: |
| | | consumer: |
| | | group: consumer_group |
| | | # 一次拉取消息最大值,注意是拉取消息的最大值而非消费最大值 |
| | | pull-batch-size: 10 |
| | | name-server: 127.0.0.1:9876 |
| | | producer: |
| | | # 发送同一类消息的设置为同一个group,保证唯一 |
| | | group: producer_group |
| | | # 发送消息超时时间,默认3000 |
| | | sendMessageTimeout: 10000 |
| | | # 发送消息失败重试次数,默认2 |
| | | retryTimesWhenSendFailed: 2 |
| | | # 异步消息重试次数,默认2 |
| | | retryTimesWhenSendAsyncFailed: 2 |
| | | # 消息最大长度,默认1024 * 1024 * 4(默认4M) |
| | | maxMessageSize: 4096 |
| | | # 压缩消息阈值,默认4k(1024 * 4) |
| | | compressMessageBodyThreshold: 4096 |
| | | # 是否在内部发送失败时重试另一个broker,默认false |
| | | retryNextServer: false |
| | | alarmValue: 10 |