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配置

---
 /dev/null                               |  183 --------------
 src/main/resources/application-dev.yml  |   12 
 src/main/resources/application-prod.yml |  269 -------------------
 src/main/resources/application-test.yml |  251 ------------------
 pom.xml                                 |    7 
 5 files changed, 23 insertions(+), 699 deletions(-)

diff --git a/pom.xml b/pom.xml
index 5004b94..10b37ad 100644
--- a/pom.xml
+++ b/pom.xml
@@ -76,13 +76,6 @@
             <scope>runtime</scope>
         </dependency>
 
-        <!-- knife4j -->
-        <dependency>
-            <groupId>com.github.xiaoymin</groupId>
-            <artifactId>knife4j-spring-boot-starter</artifactId>
-            <version>${knife4j-spring-boot-starter.version}</version>
-        </dependency>
-
         <!-- Lombok -->
         <dependency>
             <groupId>org.projectlombok</groupId>
diff --git a/src/main/java/com/lxzn/config/Swagger2Config.java b/src/main/java/com/lxzn/config/Swagger2Config.java
deleted file mode 100644
index cce2020..0000000
--- a/src/main/java/com/lxzn/config/Swagger2Config.java
+++ /dev/null
@@ -1,183 +0,0 @@
-package com.lxzn.config;
-
-import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j;
-import com.lxzn.common.CommonConstant;
-import io.swagger.annotations.ApiOperation;
-import org.springframework.beans.BeansException;
-import org.springframework.beans.factory.config.BeanPostProcessor;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.context.annotation.Import;
-import org.springframework.util.ReflectionUtils;
-import org.springframework.web.bind.annotation.RestController;
-import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
-import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
-import org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping;
-import springfox.bean.validators.configuration.BeanValidatorPluginsConfiguration;
-import springfox.documentation.builders.ApiInfoBuilder;
-import springfox.documentation.builders.ParameterBuilder;
-import springfox.documentation.builders.PathSelectors;
-import springfox.documentation.builders.RequestHandlerSelectors;
-import springfox.documentation.schema.ModelRef;
-import springfox.documentation.service.*;
-import springfox.documentation.spi.DocumentationType;
-import springfox.documentation.spi.service.contexts.SecurityContext;
-import springfox.documentation.spring.web.plugins.Docket;
-import springfox.documentation.spring.web.plugins.WebFluxRequestHandlerProvider;
-import springfox.documentation.spring.web.plugins.WebMvcRequestHandlerProvider;
-import springfox.documentation.swagger2.annotations.EnableSwagger2;
-
-import java.lang.reflect.Field;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.List;
-import java.util.stream.Collectors;
-
-/**
- * @Author scott
- */
-@Configuration
-@EnableSwagger2    //寮�鍚� Swagger2
-@EnableKnife4j     //寮�鍚� knife4j锛屽彲浠ヤ笉鍐�
-@Import(BeanValidatorPluginsConfiguration.class)
-public class Swagger2Config implements WebMvcConfigurer {
-
-    /**
-     *
-     * 鏄剧ずswagger-ui.html鏂囨。灞曠ず椤碉紝杩樺繀椤绘敞鍏wagger璧勬簮锛�
-     *
-     * @param registry
-     */
-    @Override
-    public void addResourceHandlers(ResourceHandlerRegistry registry) {
-        registry.addResourceHandler("swagger-ui.html").addResourceLocations("classpath:/META-INF/resources/");
-        registry.addResourceHandler("doc.html").addResourceLocations("classpath:/META-INF/resources/");
-        registry.addResourceHandler("/webjars/**").addResourceLocations("classpath:/META-INF/resources/webjars/");
-    }
-
-    /**
-     * swagger2鐨勯厤缃枃浠讹紝杩欓噷鍙互閰嶇疆swagger2鐨勪竴浜涘熀鏈殑鍐呭锛屾瘮濡傛壂鎻忕殑鍖呯瓑绛�
-     *
-     * @return Docket
-     */
-    @Bean(value = "defaultApi")
-    public Docket defaultApi() {
-        return new Docket(DocumentationType.SWAGGER_2)
-                .apiInfo(apiInfo())
-                .select()
-                //姝ゅ寘璺緞涓嬬殑绫伙紝鎵嶇敓鎴愭帴鍙f枃妗�
-                .apis(RequestHandlerSelectors.basePackage("com.lxzn"))
-                //鍔犱簡ApiOperation娉ㄨВ鐨勭被锛屾墠鐢熸垚鎺ュ彛鏂囨。
-                .apis(RequestHandlerSelectors.withClassAnnotation(RestController.class))
-                .apis(RequestHandlerSelectors.withMethodAnnotation(ApiOperation.class))
-                .paths(PathSelectors.any())
-                .build()
-                .securitySchemes(Collections.singletonList(securityScheme()))
-                .securityContexts(securityContexts())
-                .globalOperationParameters(setHeaderToken())
-                .groupName("default");
-    }
-
-    /***
-     * oauth2閰嶇疆
-     * 闇�瑕佸鍔爏wagger鎺堟潈鍥炶皟鍦板潃
-     * http://localhost:8888/webjars/springfox-swagger-ui/o2c.html
-     * @return
-     */
-    @Bean
-    SecurityScheme securityScheme() {
-        return new ApiKey(CommonConstant.X_ACCESS_TOKEN, CommonConstant.X_ACCESS_TOKEN, "header");
-    }
-
-    /**
-     * JWT token
-     * @return
-     */
-    private List<Parameter> setHeaderToken() {
-        ParameterBuilder tokenPar = new ParameterBuilder();
-        List<Parameter> pars = new ArrayList<>();
-        tokenPar.name(CommonConstant.X_ACCESS_TOKEN).description("token").modelRef(new ModelRef("string")).parameterType("header").required(false).build();
-        pars.add(tokenPar.build());
-        return pars;
-    }
-
-    /**
-     * api鏂囨。鐨勮缁嗕俊鎭嚱鏁�,娉ㄦ剰杩欓噷鐨勬敞瑙e紩鐢ㄧ殑鏄摢涓�
-     *
-     * @return
-     */
-    private ApiInfo apiInfo() {
-        return new ApiInfoBuilder()
-                // //澶ф爣棰�
-                .title("LXZN System Collect 鍚庡彴鏈嶅姟API鎺ュ彛鏂囨。")
-                // 鐗堟湰鍙�
-                .version("1.0")
-//				.termsOfServiceUrl("NO terms of service")
-                // 鎻忚堪
-                .description("鍚庡彴API鎺ュ彛")
-                // 浣滆��
-                .contact(new Contact("瑗垮畨鐏电鏈虹數鏅鸿兘绯荤粺鎶�鏈湁闄愬叕鍙�", "www.xalxzn.com", "zhangherong@xalxzn.com"))
-                .license("The Apache License, Version 2.0")
-                .licenseUrl("http://www.apache.org/licenses/LICENSE-2.0.html")
-                .build();
-    }
-
-    /**
-     * 鏂板 securityContexts 淇濇寔鐧诲綍鐘舵��
-     */
-    private List<SecurityContext> securityContexts() {
-        return new ArrayList(
-                Collections.singleton(SecurityContext.builder()
-                        .securityReferences(defaultAuth())
-                        .forPaths(PathSelectors.regex("^(?!auth).*$"))
-                        .build())
-        );
-    }
-
-    private List<SecurityReference> defaultAuth() {
-        AuthorizationScope authorizationScope = new AuthorizationScope("global", "accessEverything");
-        AuthorizationScope[] authorizationScopes = new AuthorizationScope[1];
-        authorizationScopes[0] = authorizationScope;
-        return new ArrayList(
-                Collections.singleton(new SecurityReference(CommonConstant.X_ACCESS_TOKEN, authorizationScopes)));
-    }
-
-    /**
-     * 瑙e喅springboot2.6 鍜宻pringfox涓嶅吋瀹归棶棰�
-     * @return
-     */
-    @Bean
-    public static BeanPostProcessor springfoxHandlerProviderBeanPostProcessor() {
-        return new BeanPostProcessor() {
-
-            @Override
-            public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {
-                if (bean instanceof WebMvcRequestHandlerProvider || bean instanceof WebFluxRequestHandlerProvider) {
-                    customizeSpringfoxHandlerMappings(getHandlerMappings(bean));
-                }
-                return bean;
-            }
-
-            private <T extends RequestMappingInfoHandlerMapping> void customizeSpringfoxHandlerMappings(List<T> mappings) {
-                List<T> copy = mappings.stream()
-                        .filter(mapping -> mapping.getPatternParser() == null)
-                        .collect(Collectors.toList());
-                mappings.clear();
-                mappings.addAll(copy);
-            }
-
-            @SuppressWarnings("unchecked")
-            private List<RequestMappingInfoHandlerMapping> getHandlerMappings(Object bean) {
-                try {
-                    Field field = ReflectionUtils.findField(bean.getClass(), "handlerMappings");
-                    field.setAccessible(true);
-                    return (List<RequestMappingInfoHandlerMapping>) field.get(bean);
-                } catch (IllegalArgumentException | IllegalAccessException e) {
-                    throw new IllegalStateException(e);
-                }
-            }
-        };
-    }
-
-
-}
diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml
index 8d0ca43..3832d05 100644
--- a/src/main/resources/application-dev.yml
+++ b/src/main/resources/application-dev.yml
@@ -62,14 +62,4 @@
     # 杩欎釜閰嶇疆浼氬皢鎵ц鐨剆ql鎵撳嵃鍑烘潵锛屽湪寮�鍙戞垨娴嬭瘯鐨勬椂鍊欏彲浠ョ敤
     log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
     # 杩斿洖绫诲瀷涓篗ap,鏄剧ずnull瀵瑰簲鐨勫瓧娈�
-    call-setters-on-nulls: true
-#swagger
-knife4j:
-  #寮�鍚寮洪厤缃�
-  enable: true
-  #寮�鍚敓浜х幆澧冨睆钄�
-  production: false
-  basic:
-    enable: false
-    username: jeecg
-    password: jeecg1314
\ No newline at end of file
+    call-setters-on-nulls: true
\ No newline at end of file
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
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