New file |
| | |
| | | logging: |
| | | charset: |
| | | console: UTF-8 |
| | | config: |
| | | classpath: log4j2.yml |
| | | #ç¦ç¨ç½æ éè¯¯é¡µé¢ |
| | | server: |
| | | error: |
| | | whitelabel: |
| | | enabled: false |
| | | #servleté
ç½® |
| | | servlet: |
| | | encoding: |
| | | #åæ¶é»è®¤çå符éç¼ç |
| | | enabled: true |
| | | #设置强å¶ä½¿ç¨æå®å符ç¼ç é |
| | | force: true |
| | | #使ç¨çå符ç¼ç |
| | | charset: utf-8 |
| | | # actuatoré
ç½®ï¼å
includeäºå
¨é¨ï¼ç¶ååexcludeæå®çendpoint |
| | | management: |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: '*' |
| | | #exclude: beans |
| | | .shutdown: |
| | | enabled: true #æ¯å¦å¼å¯/actuator/shutdown |
| | | |
| | | # SpringDoc-OpenApi é
ç½® |
| | | springdoc: |
| | | swagger-ui: |
| | | #åºç¨actuatoræ¶ï¼è®¿é®: http://[IP]:[port]/actuator/swagger-ui/index.html ä¾å¦http://127.0.0.1:9080/actuator/swagger-ui/index.html |
| | | #æªç¨actuatoræ¶ï¼è®¿é®: http://[IP]:[port]/[context]/swagger-ui/index.html ä¾å¦http://127.0.0.1:8080/[åç³»ç»ä¸ä¸æï¼baseï¼]/swagger-ui/index.html |
| | | path: /swagger-ui |
| | | operationsSorter: method # HTTP æ¹æ³æåº |
| | | tagsSorter: alpha # API æåº |
| | | api-docs: |
| | | path: /v3/apiDocs |
| | | groups: |
| | | enabled: true |
| | | show-actuator: true #å¨actuatoré
ç½®ç端å£åä¸ä¸æä¸è®¿é® SpringDoc-OpenApi |
| | | use-management-port: true #åºç¨actuatoré
ç½®ç端å£ï¼ä½ä¸é¢çswagger-ui:pathåªä¼éç¨é»è®¤å¼swagger-ui |
| | | packages-to-scan: com.dy |
| | | #paths-to-match: /sys/**, /demo/**, /** |
| | | paths-to-match: /** |
| | | web: |
| | | title: å¤§ç¦¹èæ°´ç®¡ççæ§ç³»ç»API |
| | | description: å¤§ç¦¹èæ°´ç®¡ççæ§ç³»ç»æå¡ç«¯ Restfull API |
| | | version: v1.0.0 |
| | | license-name: å¤§ç¦¹èæ°´ç ç©¶é¢ |
| | | |
| | | #MybatisPlus é
ç½®æ¥å¿æ¾ç¤ºæ§è¡SQL |
| | | mybatis-plus: |
| | | #å¹é
sqlè¯å¥çæ å°æä»¶çä½ç½®ï¼classpath代表å¨resourcesä¸ |
| | | mapper-locations: classpath:mapper/*.xml |
| | | #以ä¸ä¸¤ä¸ªé
ç½®å¯ä»¥çç¥ï¼å¨mapperæ å°æä»¶ä¸é
ç½®â@Mapperâ乿¯å¯ä»¥çã |
| | | #使ç¨type-aliases-package䏿å®entityæ«æå
è·¯å¾ï¼è®©mybatisèªå¨æ«æèªå®ä¹çentity |
| | | #type-aliases-package: com.dy.pipIrrGlobal.daoBa |
| | | configuration: |
| | | #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #æ¶èè¾åºæ¥å¿ï¼æ¶èä¸è¾åºæ¥å¿ |
| | | log-impl: org.apache.ibatis.logging.log4j2.Log4j2Impl |
| | | #å¼å¯é©¼å³°uNameèªå¨æ å°å°u_name |
| | | #2023-10-24ç»å®éªï¼ä¸é¢é
ç½®trueæfalseï¼é½è½ä»u_nameæ å°å°uName |
| | | #map-underscore-to-camel-case: true |
| | | lazyLoadingEnabled: true # å¼å¯å»¶æ¶å è½½å¼å
³ |
| | | aggressiveLazyLoading: false # å°ç§¯æå è½½æ¹ä¸ºæ¶æå è½½ï¼å³æéå è½½ï¼ï¼é»è®¤å¼æ¯false |
| | | lazy-load-trigger-methods: "" # 黿¡ä¸ç¸å¹²çæä½è§¦åï¼å®ç°æå è½½ |
| | | cache-enabled: true #æå¼å
¨å±ç¼åå¼å
³ï¼äºçº§ç¯å¢ï¼ï¼é»è®¤å¼æ¯true |
| | | default-enum-type-handler: com.dy.common.mybatis.envm.EnumCodeTypeHandler |
| | | |
| | | pipIrr: |
| | | global: |
| | | dev: false #æ¯å¦å¼åé¶æ®µï¼trueæfalse |
| | | dsName: ym #å¼åé¶æ®µï¼è®¾ç½®ä¸´æ¶çæ°æ®åºåç§° |
| | | mw: |
| | | webPort: 8072 |
| | | actutorPort: 9072 |
| | | idSuffix: 0 |
| | | sso: |
| | | cacheMaximumSize: 10000 #ç»å½ç¨æ·ç¼åå¯ç¼åç¨æ·çæå¤§å¼ |
| | | cacheDuration: 720 #ç¼åç»å½ç¨æ·ååæå¤§æ¶é¿ï¼åéï¼ |
| | | checkUrl: http://127.0.0.1:8079/sso/sso/ssoCheck |
| | | webPort: 8079 |
| | | actutorPort: 9079 |
| | | idSuffix: 1 |
| | | base: |
| | | webPort: 8080 |
| | | actutorPort: 9080 |
| | | idSuffix: 2 |
| | | remote: |
| | | webPort: 8081 |
| | | actutorPort: 9081 |
| | | idSuffix: 3 |
| | | statistics: |
| | | webPort: 8082 |
| | | actutorPort: 9082 |
| | | idSuffix: 4 |
| | | gis: |
| | | webPort: 8083 |
| | | actutorPort: 9083 |
| | | idSuffix: 5 |
| | | demo: |
| | | webPort: 8000 |
| | | actutorPort: 9000 |
| | | idSuffix: 99 |
| | | sell: |
| | | webPort: 8084 |
| | | actutorPort: 9084 |
| | | idSuffix: 6 |
| | | project: |
| | | webPort: 8085 |
| | | actutorPort: 9085 |
| | | idSuffix: 7 |
| | | irrigate: |
| | | webPort: 8086 |
| | | actutorPort: 9086 |
| | | idSuffix: 8 |
| | | wechat: |
| | | webPort: 8087 |
| | | actutorPort: 9087 |
| | | idSuffix: 9 |
| | | app: |
| | | webPort: 8088 |
| | | actutorPort: 9088 |
| | | idSuffix: 10 |
| | | operation: |
| | | webPort: 8089 |
| | | actutorPort: 9089 |
| | | idSuffix: 11 |
| | | #项ç®ç¼å· |
| | | #projectCode: |
| | | # ym: 100 |
| | | # pj: 101 |
| | | |
| | | #项ç®é
ç½® |
| | | project: |
| | | #项ç®ç¼ç |
| | | projectNo: 10 |
| | | #æ§å¶å¨ç±»å |
| | | controllerType: 57 |
| | | #é»è®¤è¡æ¿åºåç¼ç ï¼å¤©æ´¥-天津å¸-æ¦æ¸
åº-京滨工ä¸å-å¤§ç¦¹èæ°´ï¼ |
| | | divisionCode: 120114403100 |
| | | |
| | | |
| | | #é讯åè®® |
| | | #protocol: DYJS_2023,DYJS_2024 |
| | | mw: |
| | | #å½ä»¤åéå°å(ä¸ç¼æ¯æºætagï¼å
¶ä¹æ¯æ°æ®æºåç¼åç§°) |
| | | ym: |
| | | 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" |
| | | pj: |
| | | comSendUrl: "http://127.0.0.1:8071/rtuMw/com/send" |
| | | rtuLogFileUrl: "http://127.0.0.1:8071/rtuMw/com/rtuLogFile" |
| | | rtuLogTextUrl: "http://127.0.0.1:8071/rtuMw/com/rtuLogText" |
| | | test: |
| | | 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" |
| | | #微信å°ç¨åºåè°å°å |
| | | rtuCallbackUrl_wx: "http://127.0.0.1:8087/wx/comRes/receive" |
| | | |
| | | #ä¸è¿è¡userTokenè¿æ»¤çURLï¼@ConfigurationPropertiesè¦æ±tokennofilter䏿æåæ¯é½å°å |
| | | tokennofilter: |
| | | urls: |
| | | - /sso/sso |
| | | - /remote/comRes/receive |
| | | - /wx/comRes/receive |
| | | - /app/captcha/get |
| | | #èªå¨ç»è®¡é
ç½®ï¼èªå¨ç»è®¡å®æ¶ä»»å¡ä¼æ¯å¤©å®æ¶è¿è¡ |
| | | auto-statistics: |
| | | startHour: 0 #å¼å§å°æ¶ 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 |
| | | pj: |
| | | enable: true #æ¯å¦å¯ç¨ |
| | | robot: |
| | | url: https://oapi.dingtalk.com/robot/send |
| | | access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f |
| | | secret: SEC6042bc964d08899a5853eb321eb5a4d842a395982777f815bd07451c879228b7 |
| | | at-all: true |
| | | mobile: 18602657034 |
| | | test: |
| | | enable: true #æ¯å¦å¯ç¨ |
| | | robot: |
| | | url: https://oapi.dingtalk.com/robot/send |
| | | access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f |
| | | secret: SEC6042bc964d08899a5853eb321eb5a4d842a395982777f815bd07451c879228b7 |
| | | at-all: true |
| | | mobile: 18602657034 |
| | | #éæ§å¨åæ° |
| | | rtu: |
| | | batteryVolt: 17 |
| | | signalIntensity: |
| | | weak: 10 |
| | | ordinary: 20 |
| | | # strong: 20 |
| | | |
| | | #èæå¡é
ç½®åæ° |
| | | vc: |
| | | #èæå¡æä½ä½é¢æ¥è¦å¼ |
| | | alarmValue: 10 |