¶Ô±ÈÐÂÎļþ |
| | |
| | | server: |
| | | port: 9999 |
| | | tomcat: |
| | | max-swallow-size: -1 |
| | | error: |
| | | include-exception: true |
| | | include-stacktrace: ALWAYS |
| | | include-message: ALWAYS |
| | | servlet: |
| | | context-path: /jeecg-boot |
| | | compression: |
| | | enabled: true |
| | | min-response-size: 1024 |
| | | mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/* |
| | | |
| | | management: |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: metrics,httptrace |
| | | |
| | | spring: |
| | | servlet: |
| | | multipart: |
| | | max-file-size: 10MB |
| | | max-request-size: 10MB |
| | | mail: |
| | | host: smtp.163.com |
| | | username: jeecgos@163.com |
| | | password: ?? |
| | | properties: |
| | | mail: |
| | | smtp: |
| | | auth: true |
| | | starttls: |
| | | enable: true |
| | | required: true |
| | | ## quartz宿¶ä»»å¡,éç¨æ°æ®åºæ¹å¼ |
| | | quartz: |
| | | job-store-type: jdbc |
| | | initialize-schema: embedded |
| | | #宿¶ä»»å¡å¯å¨å¼å
³ï¼true-å¼ false-å
³ |
| | | auto-startup: true |
| | | #å»¶è¿1ç§å¯å¨å®æ¶ä»»å¡ |
| | | startup-delay: 1s |
| | | #å¯å¨æ¶æ´æ°å·±åå¨çJob |
| | | overwrite-existing-jobs: true |
| | | properties: |
| | | org: |
| | | quartz: |
| | | scheduler: |
| | | instanceName: MyScheduler |
| | | instanceId: AUTO |
| | | jobStore: |
| | | selectWithLockSQL: SELECT* FROM {0}LOCKS UPDLOCK WHERE LOCK_NAME = ? |
| | | threadPool: |
| | | class: org.quartz.simpl.SimpleThreadPool |
| | | threadCount: 10 |
| | | threadPriority: 5 |
| | | threadsInheritContextClassLoaderOfInitializingThread: true |
| | | #json æ¶é´æ³ç»ä¸è½¬æ¢ |
| | | jackson: |
| | | date-format: yyyy-MM-dd HH:mm:ss |
| | | time-zone: GMT+8 |
| | | jpa: |
| | | open-in-view: false |
| | | database-platform: org.hibernate.dialect.SQLServerDialect |
| | | aop: |
| | | proxy-target-class: true |
| | | #é
ç½®freemarker |
| | | freemarker: |
| | | # 设置模æ¿åç¼å |
| | | suffix: .ftl |
| | | # è®¾ç½®ææ¡£ç±»å |
| | | content-type: text/html |
| | | # 设置页é¢ç¼ç æ ¼å¼ |
| | | charset: UTF-8 |
| | | # 设置页é¢ç¼å |
| | | cache: false |
| | | prefer-file-system-access: false |
| | | # 设置ftlæä»¶è·¯å¾ |
| | | template-loader-path: |
| | | - classpath:/templates |
| | | # è®¾ç½®éææä»¶è·¯å¾ï¼js,cssç |
| | | mvc: |
| | | static-path-pattern: /** |
| | | #Spring Boot 2.6+åæ å°å¹é
çé»è®¤çç¥å·²ä»AntPathMatcheræ´æ¹ä¸ºPathPatternParser,éè¦æå¨æå®ä¸ºant-path-matcher |
| | | pathmatch: |
| | | matching-strategy: ant_path_matcher |
| | | resource: |
| | | static-locations: classpath:/static/,classpath:/public/ |
| | | autoconfigure: |
| | | exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure |
| | | datasource: |
| | | druid: |
| | | stat-view-servlet: |
| | | enabled: true |
| | | loginUsername: admin |
| | | loginPassword: 123456 |
| | | allow: |
| | | web-stat-filter: |
| | | enabled: true |
| | | dynamic: |
| | | druid: # å
¨å±druidåæ°ï¼ç»å¤§é¨åå¼åé»è®¤ä¿æä¸è´ã(ç°å·²æ¯æçåæ°å¦ä¸,䏿¸
æ¥å«ä¹ä¸è¦ä¹±è®¾ç½®) |
| | | # è¿æ¥æ± çé
ç½®ä¿¡æ¯ |
| | | # åå§å大å°ï¼æå°ï¼æå¤§ |
| | | initial-size: 5 |
| | | min-idle: 5 |
| | | maxActive: 20 |
| | | # é
ç½®è·åè¿æ¥çå¾
è¶
æ¶çæ¶é´ |
| | | maxWait: 60000 |
| | | # é
ç½®é´éå¤ä¹
æè¿è¡ä¸æ¬¡æ£æµï¼æ£æµéè¦å
³éç空é²è¿æ¥ï¼å使¯æ¯«ç§ |
| | | timeBetweenEvictionRunsMillis: 60000 |
| | | # é
ç½®ä¸ä¸ªè¿æ¥å¨æ± 䏿å°çåçæ¶é´ï¼å使¯æ¯«ç§ |
| | | minEvictableIdleTimeMillis: 300000 |
| | | validationQuery: SELECT 1 |
| | | testWhileIdle: true |
| | | testOnBorrow: false |
| | | testOnReturn: false |
| | | # æå¼PSCacheï¼å¹¶ä¸æå®æ¯ä¸ªè¿æ¥ä¸PSCacheçå¤§å° |
| | | poolPreparedStatements: true |
| | | maxPoolPreparedStatementPerConnectionSize: 20 |
| | | # é
ç½®çæ§ç»è®¡æ¦æªçfiltersï¼å»æåçæ§çé¢sqlæ æ³ç»è®¡ï¼'wall'ç¨äºé²ç«å¢ |
| | | filters: stat,wall,slf4j |
| | | # éè¿connectProperties屿§æ¥æå¼mergeSqlåè½ï¼æ
¢SQLè®°å½ |
| | | connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 |
| | | datasource: |
| | | master: |
| | | url: jdbc:sqlserver://192.168.1.118:1433;databasename=LXZN_TEST_HANGYU;nullCatalogMeansCurrent=true |
| | | username: sa |
| | | password: 123 |
| | | driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver |
| | | #redis é
ç½® |
| | | redis: |
| | | database: 0 |
| | | host: 127.0.0.1 |
| | | port: 6379 |
| | | password: '123456' |
| | | flowable: |
| | | enable: true |
| | | #å
³é宿¶ä»»å¡JOB |
| | | async-executor-activate: false |
| | | database-schema-update: true |
| | | #activiti: |
| | | # enable: false # true å¯ç¨å®¡æ¹ false ä¸å¯ç¨å®¡æ¹ |
| | | #mybatis plus 设置 |
| | | mybatis-plus: |
| | | mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml |
| | | global-config: |
| | | # å
³éMP3.0èªå¸¦çbanner |
| | | banner: false |
| | | db-config: |
| | | #主é®ç±»å 0:"æ°æ®åºIDèªå¢",1:"该类å为æªè®¾ç½®ä¸»é®ç±»å", 2:"ç¨æ·è¾å
¥ID",3:"å
¨å±å¯ä¸ID (æ°åç±»åå¯ä¸ID)", 4:"å
¨å±å¯ä¸ID UUID",5:"å符串å
¨å±å¯ä¸ID (idWorker çå符串表示)"; |
| | | id-type: ASSIGN_ID |
| | | # é»è®¤æ°æ®åºè¡¨ä¸å线å½å |
| | | table-underline: true |
| | | configuration: |
| | | # è¿ä¸ªé
ç½®ä¼å°æ§è¡çsqlæå°åºæ¥ï¼å¨å¼åææµè¯çæ¶åå¯ä»¥ç¨ |
| | | log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |
| | | # è¿åç±»å为Map,æ¾ç¤ºnull对åºçåæ®µ |
| | | call-setters-on-nulls: true |
| | | #jeecgä¸ç¨é
ç½® |
| | | minidao: |
| | | base-package: org.jeecg.modules.jmreport.* |
| | | jeecg: |
| | | # æ¯å¦å¯ç¨å®å
¨æ¨¡å¼ |
| | | safeMode: false |
| | | # ç¾åå¯é¥ä¸²(åå端è¦ä¸è´ï¼æ£å¼åå¸è¯·èªè¡ä¿®æ¹) |
| | | signatureSecret: dd05f1c54d63749eda95f9fa6d49v442a |
| | | # ç¾åæ¦æªæ¥å£ |
| | | # signUrls: /sys/dict/getDictItems/*,/sys/dict/loadDict/*,/sys/dict/loadDictOrderByValue/*,/sys/dict/loadDictItem/*,/sys/dict/loadTreeData,/sys/api/queryTableDictItemsByCode,/sys/api/queryFilterTableDictInfo,/sys/api/queryTableDictByKeys,/sys/api/translateDictFromTable,/sys/api/translateDictFromTableByKeys |
| | | signUrls: /sys/dict/loadDict/*,/sys/dict/loadDictOrderByValue/*,/sys/dict/loadDictItem/*,/sys/dict/loadTreeData,/sys/api/queryTableDictItemsByCode,/sys/api/queryFilterTableDictInfo,/sys/api/queryTableDictByKeys,/sys/api/translateDictFromTable,/sys/api/translateDictFromTableByKeys |
| | | #localãminioãalioss |
| | | uploadType: local |
| | | # å端访é®å°å |
| | | domainUrl: |
| | | pc: http://localhost:3100 |
| | | app: http://localhost:8051 |
| | | path: |
| | | #æä»¶ä¸ä¼ æ ¹ç®å½ 设置 |
| | | upload: C://opt//upFiles |
| | | #webappæä»¶è·¯å¾ |
| | | webapp: C://opt//upFiles |
| | | shiro: |
| | | excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/** |
| | | #é¿éäºossåå¨å大鱼çä¿¡ç§é¥é
ç½® |
| | | oss: |
| | | accessKey: ?? |
| | | secretKey: ?? |
| | | endpoint: oss-cn-beijing.aliyuncs.com |
| | | bucketName: jeecgdev |
| | | # ElasticSearch 6设置 |
| | | elasticsearch: |
| | | cluster-name: jeecg-ES |
| | | cluster-nodes: 127.0.0.1:9200 |
| | | check-enabled: false |
| | | # å¨çº¿é¢è§æä»¶æå¡å¨å°åé
ç½® |
| | | file-view-domain: 127.0.0.1:8012 |
| | | # minioæä»¶ä¸ä¼ |
| | | minio: |
| | | minio_url: http://minio.jeecg.com |
| | | minio_name: ?? |
| | | minio_pass: ?? |
| | | bucketName: otatest |
| | | #大屿¥è¡¨åæ°è®¾ç½® |
| | | jmreport: |
| | | mode: dev |
| | | #æ°æ®åå
¸æ¯å¦è¿è¡saasæ°æ®é离ï¼èªå·±çèªå·±çåå
¸ |
| | | saas: false |
| | | #æ¯å¦éè¦æ ¡éªtoken |
| | | is_verify_token: true |
| | | #å¿
é¡»æ ¡éªæ¹æ³ |
| | | verify_methods: remove,delete,save,add,update |
| | | #xxl-jobé
ç½® |
| | | xxljob: |
| | | enabled: false |
| | | adminAddresses: http://127.0.0.1:9080/xxl-job-admin |
| | | appname: ${spring.application.name} |
| | | accessToken: '' |
| | | address: 127.0.0.1:30007 |
| | | ip: 127.0.0.1 |
| | | port: 30007 |
| | | logPath: logs/jeecg/job/jobhandler/ |
| | | logRetentionDays: 30 |
| | | #åå¸å¼éé
ç½® |
| | | redisson: |
| | | address: 127.0.0.1:6379 |
| | | password: |
| | | type: STANDALONE |
| | | enabled: true |
| | | #casåç¹ç»å½ |
| | | cas: |
| | | prefixUrl: http://cas.example.org:8443/cas |
| | | #Mybatisè¾åºsqlæ¥å¿ |
| | | logging: |
| | | level: |
| | | org.jeecg.modules.system.mapper: info |
| | | #swagger |
| | | knife4j: |
| | | #å¼å¯å¢å¼ºé
ç½® |
| | | enable: true |
| | | #å¼å¯ç产ç¯å¢å±è½ |
| | | production: false |
| | | basic: |
| | | enable: false |
| | | username: jeecg |
| | | password: jeecg1314 |
| | | #ç¬¬ä¸æ¹ç»å½ |
| | | justauth: |
| | | enabled: true |
| | | type: |
| | | GITHUB: |
| | | client-id: ?? |
| | | client-secret: ?? |
| | | redirect-uri: http://sso.test.com:8080/jeecg-boot/sys/thirdLogin/github/callback |
| | | WECHAT_ENTERPRISE: |
| | | client-id: ?? |
| | | client-secret: ?? |
| | | redirect-uri: http://sso.test.com:8080/jeecg-boot/sys/thirdLogin/wechat_enterprise/callback |
| | | agent-id: ?? |
| | | DINGTALK: |
| | | client-id: ?? |
| | | client-secret: ?? |
| | | redirect-uri: http://sso.test.com:8080/jeecg-boot/sys/thirdLogin/dingtalk/callback |
| | | WECHAT_OPEN: |
| | | client-id: ?? |
| | | client-secret: ?? |
| | | redirect-uri: http://sso.test.com:8080/jeecg-boot/sys/thirdLogin/wechat_open/callback |
| | | cache: |
| | | type: default |
| | | prefix: 'demo::' |
| | | timeout: 1h |
| | | #ç¬¬ä¸æ¹APPå¯¹æ¥ |
| | | third-app: |
| | | enabled: false |
| | | type: |
| | | #ä¼ä¸å¾®ä¿¡ |
| | | WECHAT_ENTERPRISE: |
| | | enabled: false |
| | | #CORP_ID |
| | | client-id: ?? |
| | | #SECRET |
| | | client-secret: ?? |
| | | #èªå»ºåºç¨id |
| | | agent-id: ?? |
| | | #èªå»ºåºç¨ç§é¥ï¼æ°çä¼å¾®éè¦é
ç½®ï¼ |
| | | # agent-app-secret: ?? |
| | | #éé |
| | | DINGTALK: |
| | | enabled: false |
| | | # appKey |
| | | client-id: ?? |
| | | # appSecret |
| | | client-secret: ?? |
| | | agent-id: ?? |
| | | webservice: |
| | | url: http://localhost:8081/services/EquipmentService?wsdl |
| | | namespace: http://service.server.webservice.example.com |
| | | statusMethod: equipmentStatus |
| | | rateMethod: equipmentRate |
| | | #æä»¶ä¸ä¼ ç®å½ï¼æ³¨æLinuxåWindowsä¸çç®å½ç»æä¸åï¼ |
| | | #file.uploadFolder=/root/uploadFiles/ |
| | | #fileHomePath: ${UPLOAD_FOLDER:/jar/lxzn_storage} |
| | | #fileNCPath: ${NC_FOLDER:/jar/NC} # NCæä»¶ä½ç½® |
| | | fileHomePath: ${UPLOAD_FOLDER:d://lxzn_storage} |
| | | fileNCPath: ${NC_FOLDER:D://NC} # NCæä»¶ä½ç½® |
| | | ncSend: |
| | | addOrDelete: false #//æ¯å¦å é¤seed ä¸çä¹åæä»¶ |
| | | #staticAccessPath: /api/ffile/** # å½å项ç®çéæèµæºè®¿é®é
ç½®å¨nginxä¸ |
| | | #å·¥æ§ç½/æ¶å¯ç½é¨ç½²ç¸å
³é
ç½®------------éè¿å
çææ¸¡ |
| | | deploy: |
| | | #æ¶å¯ç½ä¼ è¾å·¥æ§ç½ncæä»¶å¤¹(ææ´¾è®¾å¤ncæä»¶) |
| | | secretFolder: D:\\test\\a |
| | | file: |
| | | monitor: |
| | | # ä¸ä¸ªçæ§ç®å½é
ç½® |
| | | paths: |
| | | - D:\\hy_test\\ncFile #å·¥æ§è´è´£è§£æéé¢çæä»¶;æ¶å¯ç½è¿è¡è§£æåä¼ çæä½ |
| | | - D:\\hy_test\\b |
| | | - D:\\hy_test\\c |
| | | interval: 10000 # çæ§é´é(ms) |
| | | security: |
| | | encryption-key: 1234567890abcdef # å è§£å¯ç§é¥ |
| | | #mdcæä»¶è·¯å¾é
ç½® |
| | | fileService: |
| | | localFilePath: D:/data/sql/ #æ¬å°æä»¶è·¯å¾ |
| | | newFilePath: D:/data/bak/ #å¤ä»½æä»¶è·¯å¾ |
| | | failedLocFilePath: D:/data/failed/failed.sql #失败æä»¶è·¯å¾ |