From 23855599412c4d61b38d78f0f3abd3430a48b5b1 Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期三, 25 六月 2025 11:51:38 +0800 Subject: [PATCH] Merge branch 'mdc_hyjs_master' --- lxzn-module-system/lxzn-system-start/src/main/resources/application-dev.yml | 328 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 328 insertions(+), 0 deletions(-) diff --git a/lxzn-module-system/lxzn-system-start/src/main/resources/application-dev.yml b/lxzn-module-system/lxzn-system-start/src/main/resources/application-dev.yml new file mode 100644 index 0000000..127a534 --- /dev/null +++ b/lxzn-module-system/lxzn-system-start/src/main/resources/application-dev.yml @@ -0,0 +1,328 @@ +锘縮erver: + 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 + #鍚姩鏃舵洿鏂板繁瀛樺湪鐨凧ob + 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鏇存敼涓篜athPatternParser,闇�瑕佹墜鍔ㄦ寚瀹氫负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 + # 閰嶇疆鐩戞帶缁熻鎷︽埅鐨刦ilters锛屽幓鎺夊悗鐩戞帶鐣岄潰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鑷甫鐨刡anner + banner: false + db-config: + #涓婚敭绫诲瀷 0:"鏁版嵁搴揑D鑷",1:"璇ョ被鍨嬩负鏈缃富閿被鍨�", 2:"鐢ㄦ埛杈撳叆ID",3:"鍏ㄥ眬鍞竴ID (鏁板瓧绫诲瀷鍞竴ID)", 4:"鍏ㄥ眬鍞竴ID UUID",5:"瀛楃涓插叏灞�鍞竴ID (idWorker 鐨勫瓧绗︿覆琛ㄧず)"; + id-type: ASSIGN_ID + # 榛樿鏁版嵁搴撹〃涓嬪垝绾垮懡鍚� + table-underline: true + configuration: + # 杩欎釜閰嶇疆浼氬皢鎵ц鐨剆ql鎵撳嵃鍑烘潵锛屽湪寮�鍙戞垨娴嬭瘯鐨勬椂鍊欏彲浠ョ敤 + log-impl: org.apache.ibatis.logging.stdout.StdOutImpl + # 杩斿洖绫诲瀷涓篗ap,鏄剧ずnull瀵瑰簲鐨勫瓧娈� + call-setters-on-nulls: true +#jeecg涓撶敤閰嶇疆 +minidao: + base-package: org.jeecg.modules.jmreport.* +jeecg: + # 鏄惁鍚敤瀹夊叏妯″紡 + safeMode: false + # 绛惧悕瀵嗛挜涓�(鍓嶅悗绔涓�鑷达紝姝e紡鍙戝竷璇疯嚜琛屼慨鏀�) + 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銆乵inio銆乤lioss + 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/** + #闃块噷浜憃ss瀛樺偍鍜屽ぇ楸肩煭淇$閽ラ厤缃� + 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 + #鏄惁闇�瑕佹牎楠宼oken + 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 +#绗笁鏂笰PP瀵规帴 +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 +#鏂囦欢涓婁紶鐩綍锛堟敞鎰廘inux鍜學indows涓婄殑鐩綍缁撴瀯涓嶅悓锛� +#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 #宸ユ帶璐熻矗瑙f瀽閲岄潰鐨勬枃浠�;娑夊瘑缃戣繘琛岃В鏋愬洖浼犵殑鎿嶄綔 + - 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 #澶辫触鏂囦欢璺緞 -- Gitblit v1.9.3