From 3d1031bdba409ae4fb9703a3102e5f7e581e9446 Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期一, 15 九月 2025 16:16:47 +0800 Subject: [PATCH] art: 删除Swagger配置 --- src/main/resources/application-test.yml | 251 ++------------------------------------------------ 1 files changed, 10 insertions(+), 241 deletions(-) diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml index c674b0f..4208162 100644 --- a/src/main/resources/application-test.yml +++ b/src/main/resources/application-test.yml @@ -1,100 +1,6 @@ server: - port: 8091 - 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: @@ -132,33 +38,18 @@ connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 datasource: master: - url: jdbc:sqlserver://192.168.0.118:1433;databasename=LXZN_TEST_430 -# url: jdbc:sqlserver://30036q420j.yicp.fun:11047;databasename=LXZN_TEST_430 -# url: jdbc:sqlserver://localhost:1433;databasename=LXZN_TEST_430 + url: jdbc:sqlserver://127.0.0.1:1433;databasename=LXZN_TEST_XHJ_20250728;nullCatalogMeansCurrent=true username: sa -# password: LXZN@1688 - password: 123 -# password: 123456 + password: sa123 driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver - #url: jdbc:mysql://127.0.0.1:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai - #username: root - #password: root - #driver-class-name: com.mysql.cj.jdbc.Driver - # 澶氭暟鎹簮閰嶇疆 - #multi-datasource1: - # url: jdbc:sqlserver://192.168.0.118:1433;databasename=lxzn_test - # username: sa - # password: 123 - # driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver - #redis 閰嶇疆 - redis: - database: 0 - host: 127.0.0.1 - port: 6381 - password: + 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 @@ -171,126 +62,4 @@ # 杩欎釜閰嶇疆浼氬皢鎵ц鐨剆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 - # local\minio\alioss - uploadType: local - # 鍓嶇璁块棶鍦板潃 - domainUrl: - pc: http://localhost:3100 - app: http://localhost:8051 - path: - #鏂囦欢涓婁紶鏍圭洰褰� 璁剧疆 - upload: D://opt//upFiles - #webapp鏂囦欢璺緞 - webapp: D://opt//webapp - 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 - #鍒嗗竷寮忛攣閰嶇疆 - redisson: - address: 127.0.0.1:6379 - password: - type: STANDALONE - enabled: true -#Mybatis杈撳嚭sql鏃ュ織 -logging: - level: - org.jeecg.modules.system.mapper: info -#cas鍗曠偣鐧诲綍 -cas: - prefixUrl: http://cas.example.org:8443/cas -#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: ?? \ No newline at end of file + call-setters-on-nulls: true \ No newline at end of file -- Gitblit v1.9.3