From 334bddc3e50e8d2ba500cd83fc2e4c198d61d268 Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期一, 15 九月 2025 16:14:27 +0800 Subject: [PATCH] art: 删除Swagger配置 --- src/main/resources/application-prod.yml | 269 ++--------------------------------------------------- 1 files changed, 12 insertions(+), 257 deletions(-) diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index e46bd8d..4208162 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -1,100 +1,6 @@ server: - port: 6099 - tomcat: - max-swallow-size: -1 - error: - include-exception: true - include-stacktrace: ALWAYS - include-message: ALWAYS - servlet: - context-path: - 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 - + port: 19988 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 = ? - # class: org.springframework.scheduling.quartz.LocalDataSourceJobStore - # driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate - # tablePrefix: QRTZ_ - # isClustered: true - # misfireThreshold: 12000 - # clusterCheckinInterval: 15000 - 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: @@ -112,7 +18,7 @@ # 鍒濆鍖栧ぇ灏忥紝鏈�灏忥紝鏈�澶� initial-size: 5 min-idle: 5 - maxActive: 1000 + maxActive: 20 # 閰嶇疆鑾峰彇杩炴帴绛夊緟瓒呮椂鐨勬椂闂� maxWait: 60000 # 閰嶇疆闂撮殧澶氫箙鎵嶈繘琛屼竴娆℃娴嬶紝妫�娴嬮渶瑕佸叧闂殑绌洪棽杩炴帴锛屽崟浣嶆槸姣 @@ -132,19 +38,18 @@ connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 datasource: master: - url: jdbc:sqlserver://10.210.199.2:1433;databasename=LXZN_MDC_XHJ + url: jdbc:sqlserver://127.0.0.1:1433;databasename=LXZN_TEST_XHJ_20250728;nullCatalogMeansCurrent=true username: sa - password: Lxzn1688 + password: sa123 driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver - #redis 閰嶇疆 - redis: - database: 0 - host: 127.0.0.1 - port: 6379 - password: '1qaz@WSX' + assembly2: + url: jdbc:sqlserver://127.0.0.1:1433;databasename=XHJ-HUB3Line;nullCatalogMeansCurrent=true + username: sa + password: sa123 + driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver #mybatis plus 璁剧疆 mybatis-plus: - mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml + mapper-locations: classpath*:com/lxzn/modules/**/xml/*Mapper.xml global-config: # 鍏抽棴MP3.0鑷甫鐨刡anner banner: false @@ -155,156 +60,6 @@ table-underline: true configuration: # 杩欎釜閰嶇疆浼氬皢鎵ц鐨剆ql鎵撳嵃鍑烘潵锛屽湪寮�鍙戞垨娴嬭瘯鐨勬椂鍊欏彲浠ョ敤 - #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl + 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 - #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/**,/api/getUserInfo - #闃块噷浜憃ss瀛樺偍鍜屽ぇ楸肩煭淇$閽ラ厤缃� - oss: - accessKey: ?? - secretKey: ?? - endpoint: oss-cn-beijing.aliyuncs.com - bucketName: jeecgdev - staticDomain: https://static.jeecg.com - # ElasticSearch 璁剧疆 - elasticsearch: - cluster-name: jeecg-ES - cluster-nodes: 127.0.0.1:9200 - check-enabled: false - # 鍦ㄧ嚎棰勮鏂囦欢鏈嶅姟鍣ㄥ湴鍧�閰嶇疆 - file-view-domain: http://fileview.jeecg.com - # minio鏂囦欢涓婁紶 - minio: - minio_url: http://minio.jeecg.com - minio_name: ?? - minio_pass: ?? - bucketName: otatest - #澶у睆鎶ヨ〃鍙傛暟璁剧疆 - jmreport: - mode: prod - #鏁版嵁瀛楀吀鏄惁杩涜saas鏁版嵁闅旂锛岃嚜宸辩湅鑷繁鐨勫瓧鍏� - saas: false - #鏄惁闇�瑕佹牎楠宼oken - is_verify_token: true - #蹇呴』鏍¢獙鏂规硶 - verify_methods: remove,delete,save,add,update - #鍒嗗竷寮忛攣閰嶇疆 - 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: true - 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://10.101.0.182:8002/MesWebService/WebService.asmx?wsdl - namespace: http://tempuri.org/ -# SAP RFC鏂瑰紡鎺ュ彛闆嗘垚 -sap: - rfc: - destination: SAP_RFC_DEST # 鑷畾涔夌殑鐩爣鍦板潃 RFC 鐩爣鍚嶇О - ashost: 10.101.0.188 # SAP 涓绘満鍦板潃 - sysnr: '00' # 绯荤粺缂栧彿 - client: 800 # 瀹㈡埛绔紪鍙� - user: SLSAP_JK # 鐢ㄦ埛鍚� - passwd: 112233 # 瀵嗙爜 - lang: ZH # 璇█ - poolSize: 5 # 绾跨▼姹犳暟閲� - expirationTime: 10000 # 杩囨湡鏃堕棿 - peekLimit: 10 # 宄板�� -feishu: - url: https://open.feishu.cn/ - appId: cli_a74aab6353b7d00e - appSecret: mx5wm7X9S8WSzZCOYlxcggXTFL8iujIT - sync: - departmentId: od-47692f32e6b66cc3985d317fee780a8b -xhj: - factoryCode: 2301 - orderType: Z001 - productionManager: 012 - orderStatus: REL \ No newline at end of file + call-setters-on-nulls: true \ No newline at end of file -- Gitblit v1.9.3