commit 60ee109c9b0adc39bbb0acb184f2ea071331bdd5 Author: gaoshuguang Date: Wed Sep 10 16:56:29 2025 +0800 首次提交 diff --git a/FortressGetDataInterface.iml b/FortressGetDataInterface.iml new file mode 100644 index 0000000..8d7487d --- /dev/null +++ b/FortressGetDataInterface.iml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/FortressGetDataInterface/.idea/$PROJECT_FILE$ b/FortressGetDataInterface/.idea/$PROJECT_FILE$ new file mode 100644 index 0000000..58b7e3e --- /dev/null +++ b/FortressGetDataInterface/.idea/$PROJECT_FILE$ @@ -0,0 +1,11 @@ + + + + + + + \ No newline at end of file diff --git a/FortressGetDataInterface/.idea/.gitignore b/FortressGetDataInterface/.idea/.gitignore new file mode 100644 index 0000000..35410ca --- /dev/null +++ b/FortressGetDataInterface/.idea/.gitignore @@ -0,0 +1,8 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/FortressGetDataInterface/.idea/compiler.xml b/FortressGetDataInterface/.idea/compiler.xml new file mode 100644 index 0000000..2577225 --- /dev/null +++ b/FortressGetDataInterface/.idea/compiler.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/FortressGetDataInterface/.idea/encodings.xml b/FortressGetDataInterface/.idea/encodings.xml new file mode 100644 index 0000000..0e1c064 --- /dev/null +++ b/FortressGetDataInterface/.idea/encodings.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/FortressGetDataInterface/.idea/inspectionProfiles/Project_Default.xml b/FortressGetDataInterface/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..d0bf744 --- /dev/null +++ b/FortressGetDataInterface/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,42 @@ + + + + \ No newline at end of file diff --git a/FortressGetDataInterface/.idea/jarRepositories.xml b/FortressGetDataInterface/.idea/jarRepositories.xml new file mode 100644 index 0000000..abb532a --- /dev/null +++ b/FortressGetDataInterface/.idea/jarRepositories.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/FortressGetDataInterface/.idea/misc.xml b/FortressGetDataInterface/.idea/misc.xml new file mode 100644 index 0000000..855a5c3 --- /dev/null +++ b/FortressGetDataInterface/.idea/misc.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/FortressGetDataInterface/.idea/qaplug_profiles.xml b/FortressGetDataInterface/.idea/qaplug_profiles.xml new file mode 100644 index 0000000..3dfd21f --- /dev/null +++ b/FortressGetDataInterface/.idea/qaplug_profiles.xml @@ -0,0 +1,465 @@ + + + + + \ No newline at end of file diff --git a/FortressGetDataInterface/pom.xml b/FortressGetDataInterface/pom.xml new file mode 100644 index 0000000..3073f0f --- /dev/null +++ b/FortressGetDataInterface/pom.xml @@ -0,0 +1,316 @@ + + + 4.0.0 + com.nmggs + FortressGetDataInterface + 0.0.1-SNAPSHOT + war + FortressGetDataInterface + FortressGetDataInterface + + 1.8 + UTF-8 + UTF-8 + 2.3.7.RELEASE + + + org.springframework.boot + spring-boot-starter-parent + 2.2.13.RELEASE + + + + + org.springframework.boot + spring-boot-devtools + true + + + + + + + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-tomcat + + + + + cn.hutool + hutool-all + 5.8.1 + + + + javax.servlet + javax.servlet-api + 4.0.1 + provided + + + com.baomidou + mybatis-plus-boot-starter + 3.5.2 + + + org.springframework.boot + spring-boot-starter-tomcat + provided + + + + com.github.penggle + kaptcha + 2.3.2 + + + org.apache.commons + commons-lang3 + 3.12.0 + + + + com.auth0 + java-jwt + 4.0.0 + + + com.vaadin.external.google + android-json + 0.0.20131108.vaadin1 + + + + org.springframework.boot + spring-boot-starter-data-redis + ${spring-boot.version} + + + + org.springframework.session + spring-session-data-redis + + + org.springframework.session + spring-session-jdbc + + + + + + + + + + com.oracle.database.jdbc + ojdbc8 + runtime + + + + com.oracle.database.nls + orai18n + runtime + + + + + mysql + mysql-connector-java + runtime + + + com.microsoft + sqljdbc4 + 3.0 + + + com.alibaba + druid-spring-boot-starter + 1.1.10 + + + log4j + log4j + 1.2.17 + + + + + org.projectlombok + lombok + true + + + com.alibaba + fastjson + 2.0.12 + + + com.alibaba + druid + 1.1.10 + + + + com.enc + EndPassJava + 1.0.0 + + + dom4j + dom4j + 1.6.1 + + + + org.jsoup + jsoup + 1.15.3 + + + commons-io + commons-io + 2.6 + + + + org.springframework.boot + spring-boot-starter-test + + + joda-time + joda-time + 2.10.13 + + + + + + + + + com.google.guava + guava + 33.3.1-jre + + + + org.apache.httpcomponents + httpclient + 4.5.13 + + + org.apache.httpcomponents + httpmime + 4.5.13 + + + com.squareup.okhttp3 + okhttp + 4.9.0 + + + + org.bouncycastle + bcprov-jdk18on + 1.78.1 + + + + com.baomidou + dynamic-datasource-spring-boot-starter + 3.5.2 + + + + org.springframework.boot + spring-boot-starter-aop + + + + + + + + + org.springframework.boot + spring-boot-dependencies + ${spring-boot.version} + pom + import + + + + + + FortressGetDataInterface + + + org.apache.maven.plugins + maven-war-plugin + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.1 + + 1.8 + 1.8 + UTF-8 + + + + org.springframework.boot + spring-boot-maven-plugin + 2.3.7.RELEASE + + com.nmggs.query.FortressGetDataInterfaceApplication + + + + repackage + + repackage + + + + + + + + src/main/java + + **/*.xml + + false + + + + src/main/resources + + *.properties + + + + + + + + + + + diff --git a/FortressGetDataInterface/src/main/java/com/nmggs/query/FortressGetDataInterfaceApplication.java b/FortressGetDataInterface/src/main/java/com/nmggs/query/FortressGetDataInterfaceApplication.java new file mode 100644 index 0000000..ce43ac6 --- /dev/null +++ b/FortressGetDataInterface/src/main/java/com/nmggs/query/FortressGetDataInterfaceApplication.java @@ -0,0 +1,18 @@ +package com.nmggs.query; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.boot.builder.SpringApplicationBuilder; +import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; + +@SpringBootApplication +public class FortressGetDataInterfaceApplication extends SpringBootServletInitializer { + @Override + protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { + return builder.sources(FortressGetDataInterfaceApplication.class); + } + public static void main(String[] args) { + SpringApplication.run(FortressGetDataInterfaceApplication.class, args); + } + +} diff --git a/FortressGetDataInterface/src/main/java/com/nmggs/query/common/config/AppConfig.java b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/config/AppConfig.java new file mode 100644 index 0000000..bb5b7a0 --- /dev/null +++ b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/config/AppConfig.java @@ -0,0 +1,28 @@ +package com.nmggs.query.common.config; + + +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.http.converter.FormHttpMessageConverter; +import org.springframework.http.converter.HttpMessageConverter; +import org.springframework.web.client.RestTemplate; + +import java.util.ArrayList; +import java.util.List; + +/** + * @author: shuguang + * @date: 2025年09月09日 17:32 + * @description: + */ +@Configuration +public class AppConfig { + @Bean + public RestTemplate restTemplate() { + RestTemplate restTemplate = new RestTemplate(); + List> messageConverters = new ArrayList<>(restTemplate.getMessageConverters()); + messageConverters.add(new FormHttpMessageConverter()); + restTemplate.setMessageConverters(messageConverters); + return restTemplate; + } +} diff --git a/FortressGetDataInterface/src/main/java/com/nmggs/query/common/config/CaptchaConfig.java b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/config/CaptchaConfig.java new file mode 100644 index 0000000..beb47c3 --- /dev/null +++ b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/config/CaptchaConfig.java @@ -0,0 +1,102 @@ +package com.nmggs.query.common.config; + +import com.google.code.kaptcha.impl.DefaultKaptcha; +import com.google.code.kaptcha.util.Config; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +import java.util.Properties; + +import static com.google.code.kaptcha.Constants.KAPTCHA_BORDER; +import static com.google.code.kaptcha.Constants.KAPTCHA_BORDER_COLOR; +import static com.google.code.kaptcha.Constants.KAPTCHA_IMAGE_HEIGHT; +import static com.google.code.kaptcha.Constants.KAPTCHA_IMAGE_WIDTH; +import static com.google.code.kaptcha.Constants.KAPTCHA_NOISE_COLOR; +import static com.google.code.kaptcha.Constants.KAPTCHA_NOISE_IMPL; +import static com.google.code.kaptcha.Constants.KAPTCHA_OBSCURIFICATOR_IMPL; +import static com.google.code.kaptcha.Constants.KAPTCHA_SESSION_CONFIG_KEY; +import static com.google.code.kaptcha.Constants.KAPTCHA_TEXTPRODUCER_CHAR_LENGTH; +import static com.google.code.kaptcha.Constants.KAPTCHA_TEXTPRODUCER_CHAR_SPACE; +import static com.google.code.kaptcha.Constants.KAPTCHA_TEXTPRODUCER_FONT_COLOR; +import static com.google.code.kaptcha.Constants.KAPTCHA_TEXTPRODUCER_FONT_NAMES; +import static com.google.code.kaptcha.Constants.KAPTCHA_TEXTPRODUCER_FONT_SIZE; +import static com.google.code.kaptcha.Constants.KAPTCHA_TEXTPRODUCER_IMPL; + +/** + * 验证码配置 + * + * @author ruoyi + */ +@Configuration +public class CaptchaConfig +{ + @Bean(name = "captchaProducer") + public DefaultKaptcha getKaptchaBean() + { + DefaultKaptcha defaultKaptcha = new DefaultKaptcha(); + Properties properties = new Properties(); + // 是否有边框 默认为true 我们可以自己设置yes,no + properties.setProperty(KAPTCHA_BORDER, "yes"); + // 验证码文本字符颜色 默认为Color.BLACK + properties.setProperty(KAPTCHA_TEXTPRODUCER_FONT_COLOR, "black"); + // 验证码图片宽度 默认为200 + properties.setProperty(KAPTCHA_IMAGE_WIDTH, "160"); + // 验证码图片高度 默认为50 + properties.setProperty(KAPTCHA_IMAGE_HEIGHT, "60"); + // 验证码文本字符大小 默认为40 + properties.setProperty(KAPTCHA_TEXTPRODUCER_FONT_SIZE, "38"); + // KAPTCHA_SESSION_KEY + properties.setProperty(KAPTCHA_SESSION_CONFIG_KEY, "kaptchaCode"); + // 验证码文本字符长度 默认为5 + properties.setProperty(KAPTCHA_TEXTPRODUCER_CHAR_LENGTH, "4"); + // 验证码文本字体样式 默认为new Font("Arial", 1, fontSize), new Font("Courier", 1, fontSize) + properties.setProperty(KAPTCHA_TEXTPRODUCER_FONT_NAMES, "Arial,Courier"); + // 图片样式 水纹com.google.code.kaptcha.impl.WaterRipple 鱼眼com.google.code.kaptcha.impl.FishEyeGimpy 阴影com.google.code.kaptcha.impl.ShadowGimpy +// properties.setProperty(KAPTCHA_OBSCURIFICATOR_IMPL, "com.google.code.kaptcha.impl.ShadowGimpy"); +// // 设置无干扰线 +// properties.setProperty("kaptcha.noise.impl","com.google.code.kaptcha.impl.NoNoise"); + // 干扰实现类 + properties.setProperty(KAPTCHA_NOISE_IMPL, "com.google.code.kaptcha.impl.NoNoise"); + Config config = new Config(properties); + defaultKaptcha.setConfig(config); + return defaultKaptcha; + } + + @Bean(name = "captchaProducerMath") + public DefaultKaptcha getKaptchaBeanMath() + { + DefaultKaptcha defaultKaptcha = new DefaultKaptcha(); + Properties properties = new Properties(); + // 是否有边框 默认为true 我们可以自己设置yes,no + properties.setProperty(KAPTCHA_BORDER, "yes"); + // 边框颜色 默认为Color.BLACK + properties.setProperty(KAPTCHA_BORDER_COLOR, "105,179,90"); + // 验证码文本字符颜色 默认为Color.BLACK + properties.setProperty(KAPTCHA_TEXTPRODUCER_FONT_COLOR, "blue"); + // 验证码图片宽度 默认为200 + properties.setProperty(KAPTCHA_IMAGE_WIDTH, "160"); + // 验证码图片高度 默认为50 + properties.setProperty(KAPTCHA_IMAGE_HEIGHT, "60"); + // 验证码文本字符大小 默认为40 + properties.setProperty(KAPTCHA_TEXTPRODUCER_FONT_SIZE, "35"); + // KAPTCHA_SESSION_KEY + properties.setProperty(KAPTCHA_SESSION_CONFIG_KEY, "kaptchaCodeMath"); + // 验证码文本生成器 + properties.setProperty(KAPTCHA_TEXTPRODUCER_IMPL, "com.ruoyi.framework.config.KaptchaTextCreator"); + // 验证码文本字符间距 默认为2 + properties.setProperty(KAPTCHA_TEXTPRODUCER_CHAR_SPACE, "3"); + // 验证码文本字符长度 默认为5 + properties.setProperty(KAPTCHA_TEXTPRODUCER_CHAR_LENGTH, "6"); + // 验证码文本字体样式 默认为new Font("Arial", 1, fontSize), new Font("Courier", 1, fontSize) + properties.setProperty(KAPTCHA_TEXTPRODUCER_FONT_NAMES, "Arial,Courier"); + // 验证码噪点颜色 默认为Color.BLACK + properties.setProperty(KAPTCHA_NOISE_COLOR, "white"); + // 干扰实现类 + properties.setProperty(KAPTCHA_NOISE_IMPL, "com.google.code.kaptcha.impl.NoNoise"); + // 图片样式 水纹com.google.code.kaptcha.impl.WaterRipple 鱼眼com.google.code.kaptcha.impl.FishEyeGimpy 阴影com.google.code.kaptcha.impl.ShadowGimpy + properties.setProperty(KAPTCHA_OBSCURIFICATOR_IMPL, "com.google.code.kaptcha.impl.ShadowGimpy"); + Config config = new Config(properties); + defaultKaptcha.setConfig(config); + return defaultKaptcha; + } +} diff --git a/FortressGetDataInterface/src/main/java/com/nmggs/query/common/config/CorsConfig.java b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/config/CorsConfig.java new file mode 100644 index 0000000..1de3b58 --- /dev/null +++ b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/config/CorsConfig.java @@ -0,0 +1,64 @@ +package com.nmggs.query.common.config; + +/** + * 启用跨域配置 + * 编写SpringMVCConfig类使用FilterConfig中的配置 + * + * @author Administrator + */ + +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.web.cors.CorsConfiguration; +import org.springframework.web.cors.UrlBasedCorsConfigurationSource; +import org.springframework.web.filter.CorsFilter; +import org.springframework.web.servlet.config.annotation.InterceptorRegistry; +import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; + +import javax.annotation.Resource; + +@SuppressWarnings("deprecation") +@Configuration +public class CorsConfig implements WebMvcConfigurer { + + @Resource + private FilterConfig filterconfig; + + + @Override + public void addInterceptors(InterceptorRegistry registry) { + // 设置拦截类 + registry.addInterceptor(filterconfig) + .addPathPatterns("/**") +// 是否允许证书 + .excludePathPatterns( + "/ZDYH/**", + "/DCPC/**", + "/ReceptionMobileWeighInfo", + "/ReceptionProBlackList**" + + ); + + } + + /** + * 跨越配置 + */ + @Bean + public CorsFilter corsFilter() { + CorsConfiguration config = new CorsConfiguration(); + // 设置容许跨域请求的域名 + //config.addAllowedOriginPattern("*"); + config.addAllowedOrigin("*"); + // 设置容许的方法 + config.addAllowedMethod("*"); + // 容许任何头 + config.addAllowedHeader("*"); + config.addExposedHeader("token"); + //是否支持cookie跨域 + config.setAllowCredentials(true); + UrlBasedCorsConfigurationSource configSource = new UrlBasedCorsConfigurationSource(); + configSource.registerCorsConfiguration("/**", config); + return new CorsFilter(configSource); + } +} diff --git a/FortressGetDataInterface/src/main/java/com/nmggs/query/common/config/ErrorConfig.java b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/config/ErrorConfig.java new file mode 100644 index 0000000..767e2cb --- /dev/null +++ b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/config/ErrorConfig.java @@ -0,0 +1,17 @@ +package com.nmggs.query.common.config; + +import org.springframework.boot.web.server.ErrorPage; +import org.springframework.boot.web.server.ErrorPageRegistrar; +import org.springframework.boot.web.server.ErrorPageRegistry; +import org.springframework.http.HttpStatus; +import org.springframework.stereotype.Component; + +@Component +public class ErrorConfig implements ErrorPageRegistrar { + + @Override + public void registerErrorPages(ErrorPageRegistry registry) { + ErrorPage error404Page = new ErrorPage(HttpStatus.NOT_FOUND, "/index.html"); + registry.addErrorPages(error404Page); + } +} diff --git a/FortressGetDataInterface/src/main/java/com/nmggs/query/common/config/ExecutionTimeLogger.java b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/config/ExecutionTimeLogger.java new file mode 100644 index 0000000..1d7609e --- /dev/null +++ b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/config/ExecutionTimeLogger.java @@ -0,0 +1,16 @@ +package com.nmggs.query.common.config; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/** + * @author: shuguang + * @date: 2025年08月06日 11:34 + * @description: 注解和切面类--用于标记需要计算执行时间的方法 + */ +@Target(ElementType.METHOD) // 注解仅适用于方法 +@Retention(RetentionPolicy.RUNTIME) // 注解在运行时保留 +public @interface ExecutionTimeLogger { +} diff --git a/FortressGetDataInterface/src/main/java/com/nmggs/query/common/config/ExecutionTimeLoggerAspect.java b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/config/ExecutionTimeLoggerAspect.java new file mode 100644 index 0000000..703dfd4 --- /dev/null +++ b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/config/ExecutionTimeLoggerAspect.java @@ -0,0 +1,56 @@ +package com.nmggs.query.common.config; + +import lombok.extern.slf4j.Slf4j; +import org.aspectj.lang.ProceedingJoinPoint; +import org.aspectj.lang.annotation.Around; +import org.aspectj.lang.annotation.Aspect; +import org.aspectj.lang.reflect.MethodSignature; +import org.springframework.stereotype.Component; + + +/** + * @author: shuguang + * @date: 2025年08月06日 11:36 + * @description: + */ +@Aspect +@Component +@Slf4j +public class ExecutionTimeLoggerAspect { + + /** + * 指定拦截带有 ExecutionTimeLogger 注解的方法 + * + * @return java.lang.Object + * @author shuguang + * @date 2025-08-06 11:37 + */ + @Around("@annotation(ExecutionTimeLogger)") + public Object logExecutionTime(ProceedingJoinPoint joinPoint) throws Throwable { + long startTime = System.currentTimeMillis(); + + Object[] args = joinPoint.getArgs(); + MethodSignature signature = (MethodSignature) joinPoint.getSignature(); + String[] parameterNames = signature.getParameterNames(); + + String uuid = null; + for (int i = 0; i < parameterNames.length; i++) { + if ("uuid".equals(parameterNames[i]) && args[i] instanceof String) { + uuid = (String) args[i]; + break; + } + } + + Object result = joinPoint.proceed(); + + long executionTime = System.currentTimeMillis() - startTime; + + if (uuid != null) { + log.info("[uuid:{}]-{}方法在{}毫秒内执行完毕", uuid, joinPoint.getSignature().getName(), executionTime); + } else { + log.info("{}方法在{}毫秒内执行完毕", joinPoint.getSignature().getName(), executionTime); + } + + return result; + } +} diff --git a/FortressGetDataInterface/src/main/java/com/nmggs/query/common/config/FilterConfig.java b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/config/FilterConfig.java new file mode 100644 index 0000000..38bb19e --- /dev/null +++ b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/config/FilterConfig.java @@ -0,0 +1,71 @@ +package com.nmggs.query.common.config; + +/** + * 允许跨域请求 + * + * @author Administrator + */ + +import com.alibaba.fastjson2.JSONObject; +import com.nmggs.query.common.utils.TokenUtil; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Component; +import org.springframework.web.servlet.HandlerInterceptor; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import java.io.PrintWriter; + + +@Component +@Slf4j +public class FilterConfig implements HandlerInterceptor { + + @Override + public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { + response.setHeader("Access-Control-Allow-Origin", request.getHeader("Origin"));//支持跨域请求 + response.setHeader("Access-Control-Allow-Credentials", "true");//是否支持cookie跨域 + response.setHeader("Access-Control-Allow-Methods", "*");//X-forwared-port,X-forwarded-host, + response.setHeader("Access-Control-Allow-Headers", "Authorization,Origin, X-Requested-With, Content-Type, Accept,Access-Token");//Origin, X-Requested-With, Content-Type, Accept,Access-Token + String token = request.getHeader("token"); + if (token == null) { + response.setStatus(HttpServletResponse.SC_UNAUTHORIZED); + response.setCharacterEncoding("UTF-8"); + response.setContentType("application/json; charset=utf-8"); + JSONObject res = new JSONObject(); + res.put("status", "-2"); + res.put("msg", "登录超时请重新登陆"); + PrintWriter out; + out = response.getWriter(); + out.write(res.toString()); + out.flush(); + out.close(); + return false; + } + if(token.equals("test")){ + return true; + } + try { + boolean result = TokenUtil.verify(token); + //判断绑定 + if (result) { + //log.info("通过拦截器"); + response.setHeader("token", TokenUtil.reToken(token, request)); + return true; + } + } catch (Exception ignored) { + } + response.setStatus(HttpServletResponse.SC_UNAUTHORIZED); + response.setCharacterEncoding("UTF-8"); + response.setContentType("application/json; charset=utf-8"); + JSONObject res = new JSONObject(); + res.put("status", "-1"); + res.put("msg", "鉴权失败"); + PrintWriter out; + out = response.getWriter(); + out.write(res.toString()); + out.flush(); + out.close(); + return false; + } +} diff --git a/FortressGetDataInterface/src/main/java/com/nmggs/query/common/config/MyEnvironmentPostProcessor.java b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/config/MyEnvironmentPostProcessor.java new file mode 100644 index 0000000..3924364 --- /dev/null +++ b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/config/MyEnvironmentPostProcessor.java @@ -0,0 +1,84 @@ +package com.nmggs.query.common.config; + + +import com.nmggs.query.common.emnu.Constant; +import com.nmggs.query.common.utils.PathUtil; +import com.nmggs.query.common.utils.PropertiesUtil; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.env.EnvironmentPostProcessor; +import org.springframework.context.annotation.Configuration; +import org.springframework.core.env.ConfigurableEnvironment; +import org.springframework.core.env.PropertiesPropertySource; + +import java.io.File; +import java.io.FileInputStream; +import java.net.UnknownHostException; +import java.util.ArrayList; +import java.util.List; +import java.util.Properties; + +@Configuration +public class MyEnvironmentPostProcessor implements EnvironmentPostProcessor { + + @Override + public void postProcessEnvironment(ConfigurableEnvironment configurableEnvironment, SpringApplication application) { + System.out.println("FortressGetDataInterface读取公用配置文件"); + //公用配置文件路径 + String path = PathUtil.applicationPath; + //本项目配置文件路径 + String NewPath = PathUtil.projectApplicationPath; + System.out.println("Loading local settings from : " + path); + System.out.println("Loading local settings from : " + NewPath); + Properties properties = new Properties(); + Properties Newproperties = new Properties(); + try { + File fileproperties = new File(path); + File fileNewproperties = new File(NewPath); + // 判断文件夹是否存在 + if (!fileproperties.exists()) { + fileproperties.createNewFile(); + } + if (!fileNewproperties.exists()) { + fileNewproperties.createNewFile(); + } + properties.load(new FileInputStream(path)); + Newproperties.load(new FileInputStream(NewPath)); + properties.setProperty("spring.logback.logPath", PathUtil.TomcatPath + "/logs"); + String appName=Newproperties.getProperty("spring.logback.appName"); + String versionPath =PathUtil.versionPath; + File resourceDir = new File(versionPath); + String version = getVersionFileName(resourceDir); + new PropertiesUtil(PathUtil.applicationTextPath).set(appName+"Version",version); + System.out.println(" version : "+appName+"--->"+version); + //环境名称随意取,但尽量不能和其他环境名称相同,避免不生效 + PropertiesPropertySource propertySource = new PropertiesPropertySource("environmentPostProcessor", properties); + PropertiesPropertySource newPropertySource = new PropertiesPropertySource("newEnvironmentPostProcessor", Newproperties); + //外部的文件是最先导入的 + configurableEnvironment.getPropertySources().addFirst(propertySource); + //如果公用配置文件没有配置的则使用本项目的配置文件 + configurableEnvironment.getPropertySources().addLast(newPropertySource); + } catch (Exception e) { + e.printStackTrace(); + } + } + + private static String getVersionFileName(File dir) { + String version=""; + List fileNames = new ArrayList<>(); + if (dir == null || !dir.exists() || !dir.isDirectory()) { + return version; + } + File[] files = dir.listFiles(); + if (files != null) { + for (File file : files) { + if (file.isFile() && file.getName().endsWith(".txt")) { + fileNames.add(file.getName()); + } + } + } + if (!fileNames.isEmpty()) { + version = fileNames.get(0).replace(".txt", ""); + } + return version; + } +} diff --git a/FortressGetDataInterface/src/main/java/com/nmggs/query/common/emnu/Constant.java b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/emnu/Constant.java new file mode 100644 index 0000000..bc035fb --- /dev/null +++ b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/emnu/Constant.java @@ -0,0 +1,46 @@ +package com.nmggs.query.common.emnu; + +import java.util.Arrays; +import java.util.List; + +/** + * @author: shuguang + * @date: 2022年10月10日 17:13 + * @description: 常量 + */ +public class Constant { + /** + * 数据库类型,1-sqlserver, 2-oracle,3-达梦,4-mysql + */ + public static final String STR_ONE = "1"; + public static final String STR_TWO = "2"; + public static final String STR_THREE = "3"; + public static final String STR_FOUR = "4"; + public static final String STR_ZERO = "0"; + public static final String STR_TEN = "10"; + public static final Integer INT_10000 = 10000; + public static final String YYYYMMDDHHMMSS = "yyyyMMddHHmmss"; + public static final String YYYYMMDD = "yyyyMMdd"; + public static final String YYYYMMDDHH = "yyyyMMddHH"; + public static final String YYMMDD = "yyMMdd"; + public static final String YYYY_MM_DD_HH_MM_SS = "yyyy-MM-dd HH:mm:ss"; + public static final String YYYY_MM_DD = "yyyy-MM-dd"; + + public static final String APP_KEY = "2Z6hOpl5kNYWAzr8PeA5"; + public static final String APP_SECRET = "sM}[(1H|EW!x&,GE8_]:[TaN8GOl10vQ}iN1s~hW"; + public static final String UTF_8 = "UTF-8"; + public static final String DCPC_PAY_ = "DCPC_PAY_"; + public static final String HTTP = "http://"; + public static final String STR_COLON = ":"; + public static final String STR_SLASH = "/"; + /** + *收费内网接口地址 + */ + public static final String INTRANET_MOBILE_WEIGH = "GetDataInterface/ReceptionMobileWeighInfo"; + public static final String INTRANET_DCPC_GET_DATA = "GetDataInterface/getData"; + public static final String INTRANET_DCPC_BASE_INFO_QUERY_EX_STATION = "GetDataInterface/baseinfo/QueryExStationTrans"; + public static final String INTRANET_DCPC_BASE_INFO_MIN_PATH = "GetDataInterface/baseinfo/minPath"; + public static final String INTRANET_DCPC_BASE_INFO_GANTRY_INFO = "GetDataInterface/baseinfo/gantryinfo"; + public static final String INTRANET_DCPC_BASE_INFO_GANTRY_FEE = "GetDataInterface/baseinfo/gantryfee"; + public static final String INTRANET_ZDYH_GET_EQUIPMENT_INFO = "GetDataInterface/ZDYH/getEquipmentInfo"; +} diff --git a/FortressGetDataInterface/src/main/java/com/nmggs/query/common/emnu/MessageEnum.java b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/emnu/MessageEnum.java new file mode 100644 index 0000000..688a716 --- /dev/null +++ b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/emnu/MessageEnum.java @@ -0,0 +1,73 @@ +package com.nmggs.query.common.emnu; + +/** + * @author: shuguang + * @date: 2022年10月16日 17:24 + * @description: 返回结果代码枚举 + */ +public enum MessageEnum { + /** + * 成功 + */ + 成功("0", "成功"), + /** + * 参数校验 + */ + 鉴权码不存在("701", "鉴权码不存在"), + md5校验失败("702", "md5校验失败"), + POST参数校验失败("703", "POST参数校验失败"), + 请求文件名参数校验失败("704", "请求文件名参数校验失败"), + 请求数据不存在("705", "请求数据不存在"), + 当前数据已为最新("706", "当前数据已为最新"), + 最小费额文件不存在("707", "最小费额文件不存在"), + 检测数据序号不能为空("10001", "检测数据序号不能为空"), + 请求类型错误("10002", "请求类型错误"), + + /** + * 异常 + */ + 复制文件失败("20001", "复制文件失败"), + 文件移动重命名失败("20002", "文件移动重命名失败"), + 返回数据格式错误("20003", "返回数据格式错误"), + 查询数据失败("20004", "查询数据失败"), + 插入数据失败("20005", "插入数据失败"), + + + 登录鉴权失败("20006", "登录鉴权失败"), + 数据库连接异常("20007", "数据库连接异常"), + 数据库执行sql失败("20008", "数据库执行sql失败"), + 推送省内黑名单数据失败("20009", "推送省内黑名单数据失败"), + 获取逃费记录数据失败("20010", "获取逃费记录数据失败"), + 生成密钥失败("20011", "生成密钥失败"), + 加密失败("20012", "加密失败"), + 解密失败("20013", "解密失败"), + 请求接口失败("20014", "请求接口失败"), + 文件加密失败("20015", "文件加密失败"), + 接收移动称重数据异常("20016", "接收移动称重数据异常"), + 转换json数据异常("20017", "转换json数据异常"), + 系统异常("99999","操作失败"), + ; + private String code; + private String message; + + MessageEnum(String code, String message) { + this.code = code; + this.message = message; + } + + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } +} diff --git a/FortressGetDataInterface/src/main/java/com/nmggs/query/common/exception/PPException.java b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/exception/PPException.java new file mode 100644 index 0000000..e0de2e6 --- /dev/null +++ b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/exception/PPException.java @@ -0,0 +1,49 @@ +package com.nmggs.query.common.exception; + +import lombok.Data; +import lombok.EqualsAndHashCode; +/** + * + */ +/** + * @author: shuguang + * @date: 2022年10月15日 16:27 + * @description: 业务自定义异常 + */ +@EqualsAndHashCode(callSuper = true) +@Data +public class PPException extends RuntimeException{ + /** + * 异常代码 + */ + private String msg_code; + /** + * 异常信息 + */ + private String msg_info; + + public PPException(String msg_code, String msg_info) { + super(msg_code); + this.msg_code = msg_code; + this.msg_info = msg_info; + } + + public PPException(String message, String msg_code, String msg_info) { + super(message); + this.msg_code = msg_code; + this.msg_info = msg_info; + } + + public PPException(String message, Throwable cause, String msg_code, String msg_info) { + super(message, cause); + this.msg_code = msg_code; + this.msg_info = msg_info; + } + + public PPException(Throwable cause, String msg_code, String msg_info) { + super(cause); + this.msg_code = msg_code; + this.msg_info = msg_info; + } + +} diff --git a/FortressGetDataInterface/src/main/java/com/nmggs/query/common/exception/PPExceptionHandler.java b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/exception/PPExceptionHandler.java new file mode 100644 index 0000000..cc33f7c --- /dev/null +++ b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/exception/PPExceptionHandler.java @@ -0,0 +1,40 @@ +package com.nmggs.query.common.exception; + + +import com.alibaba.fastjson2.JSON; +import com.nmggs.query.common.emnu.MessageEnum; +import lombok.extern.slf4j.Slf4j; +import org.springframework.web.bind.annotation.ExceptionHandler; +import org.springframework.web.bind.annotation.RestControllerAdvice; + +/** + * @author: shuguang + * @date: 2022年10月11日 16:27 + * @description: 自定义异常处理类 + */ +@RestControllerAdvice +@Slf4j +public class PPExceptionHandler { + + /** + * 处理业务自定义异常 + */ + @ExceptionHandler(PPException.class) + public T handlePPException(PPException e) { + Result res = Result.error(e.getMsg_code(), e.getMsg_info()); + log.error("异常处理模块出参:{}", JSON.toJSONString(res)); + return (T) JSON.toJSONString(res); + } + + + /** + * 处理其他异常 + */ + @ExceptionHandler(Exception.class) + public T handleException(Exception e) { + log.info(e.getMessage(),e); + Result res = Result.error(MessageEnum.系统异常.getCode(), MessageEnum.系统异常.getMessage()); + log.error("异常处理模块出参:{}", JSON.toJSONString(res)); + return (T) JSON.toJSONString(res); + } +} diff --git a/FortressGetDataInterface/src/main/java/com/nmggs/query/common/exception/Result.java b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/exception/Result.java new file mode 100644 index 0000000..8f2d668 --- /dev/null +++ b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/exception/Result.java @@ -0,0 +1,43 @@ +package com.nmggs.query.common.exception; + +import com.nmggs.query.common.emnu.MessageEnum; +import lombok.Data; + +/** + * @author: shuguang + * @date: 2022年10月16日 16:01 + * @description: 返回结果 + */ +@Data +public class Result { + private String msg_code; + private String msg_info; + private T data; + public Result() { + } + + public Result(T data) { + this.data = data; + } + + public static Result success() { + Result result = new Result<>(); + result.setMsg_code(MessageEnum.成功.getCode()); + result.setMsg_info(MessageEnum.成功.getMessage()); + return result; + } + + public static Result success(T data) { + Result result = new Result<>(data); + result.setMsg_code(MessageEnum.成功.getCode()); + result.setMsg_info(MessageEnum.成功.getMessage()); + return result; + } + + public static Result error(String code, String msg) { + Result result = new Result(); + result.setMsg_code(code); + result.setMsg_info(msg); + return result; + } +} diff --git a/FortressGetDataInterface/src/main/java/com/nmggs/query/common/utils/PathUtil.java b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/utils/PathUtil.java new file mode 100644 index 0000000..d6107ba --- /dev/null +++ b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/utils/PathUtil.java @@ -0,0 +1,84 @@ +package com.nmggs.query.common.utils; + +import org.springframework.util.ClassUtils; + +import java.io.UnsupportedEncodingException; +import java.net.Inet4Address; +import java.net.InetAddress; +import java.net.NetworkInterface; +import java.net.SocketException; +import java.net.URLDecoder; +import java.net.UnknownHostException; +import java.util.Enumeration; +import java.util.Objects; +import java.util.Properties; + +public class PathUtil { + public static String TomcatPath = System.getProperty("catalina.home"); + public static String webappsPath; + public static String applicationPath; + public static String applicationTextPath; + public static String projectApplicationPath = Objects.requireNonNull(Objects.requireNonNull(ClassUtils.getDefaultClassLoader()).getResource("")).getPath() + "static/application.properties"; + public static String uploadPath; + public static String hostAddress; + public static String tomcatUserXMLPath; + public static String versionPath; + + public static String webName = "GetDataInterface"; + + public static String downFile; + /** + * 加密文件路径 + */ + public static String encryptedFile; + /** + * 解密文件路径 + */ + public static String decryptedFile; + public static String downZipInsertBackup; + /** + * zip解压成json文件文件夹 + */ + public static String unZip; + + + static { + Properties props = System.getProperties(); + String os = props.getProperty("os.name").toLowerCase(); + try { + if (os.startsWith("win")) { + webappsPath = java.net.URLDecoder.decode(TomcatPath + "\\webapps\\", "utf-8"); + uploadPath = java.net.URLDecoder.decode("\\uploadfiles\\" + webName, "utf-8"); + downFile = java.net.URLDecoder.decode(uploadPath + "\\downFile\\", "utf-8"); + encryptedFile = java.net.URLDecoder.decode(uploadPath + "\\encryptedFile\\", "utf-8"); + decryptedFile = java.net.URLDecoder.decode(uploadPath + "\\decryptedFile\\", "utf-8"); + unZip = java.net.URLDecoder.decode(uploadPath + "\\unZip\\", "utf-8"); + downZipInsertBackup = java.net.URLDecoder.decode(uploadPath + "\\downZipInsertBackup\\", "utf-8"); + if (projectApplicationPath.charAt(0) == '/' || projectApplicationPath.charAt(0) == '\\') { + projectApplicationPath = java.net.URLDecoder.decode(projectApplicationPath.substring(1), "utf-8"); + } + versionPath = URLDecoder.decode(Objects.requireNonNull(ClassUtils.getDefaultClassLoader().getResource("")).getPath(), "UTF-8") + "version/"; + } else { + webappsPath = java.net.URLDecoder.decode(TomcatPath + "/webapps/", "utf-8"); + uploadPath = java.net.URLDecoder.decode("/uploadfiles/" + webName, "utf-8"); + downFile = java.net.URLDecoder.decode(uploadPath + "/downFile/", "utf-8"); + encryptedFile = java.net.URLDecoder.decode(uploadPath + "/encryptedFile/", "utf-8"); + decryptedFile = java.net.URLDecoder.decode(uploadPath + "/decryptedFile/", "utf-8"); + unZip = java.net.URLDecoder.decode(uploadPath + "/unZip/", "utf-8"); + downZipInsertBackup = java.net.URLDecoder.decode(uploadPath + "/downZipInsertBackup/", "utf-8"); + versionPath = Objects.requireNonNull(ClassUtils.getDefaultClassLoader().getResource("")).getPath() + "version/"; + } + } catch (UnsupportedEncodingException e) { + e.printStackTrace(); + } + applicationPath = webappsPath + "application.properties"; + applicationTextPath = webappsPath + "/applicationText.properties"; + tomcatUserXMLPath = TomcatPath + "/conf/tomcat-users.xml"; + + try { + hostAddress = Inet4Address.getLocalHost().getHostAddress(); + } catch (UnknownHostException e) { + throw new RuntimeException(e); + } + } +} diff --git a/FortressGetDataInterface/src/main/java/com/nmggs/query/common/utils/PropertiesUtil.java b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/utils/PropertiesUtil.java new file mode 100644 index 0000000..ac89f91 --- /dev/null +++ b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/utils/PropertiesUtil.java @@ -0,0 +1,353 @@ +package com.nmggs.query.common.utils; + +import java.io.BufferedReader; +import java.io.BufferedWriter; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStreamReader; +import java.io.OutputStreamWriter; +import java.net.URL; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.Properties; + +public class PropertiesUtil { + public static String getValue(String key) { + String path = PathUtil.applicationPath; + FileInputStream fIn = null; + InputStreamReader in = null; + try { +// File updateFile = new File(path); + Properties properties = new Properties(); +// BufferedReader bf = new BufferedReader(new InputStreamReader(new FileInputStream(path), "gb2312")); + fIn = new FileInputStream(path); + in = new InputStreamReader(fIn, "UTF-8"); + BufferedReader bf = new BufferedReader(in); + properties.load(bf); + return properties.getProperty(key); + } catch (Exception e) { + e.printStackTrace(); + } finally { + try { + if (fIn != null) { + fIn.close(); + } + if (in != null) { + in.close(); + } + } catch (Exception e) { + } + } + return ""; + } + + //目标文件 + public File file; + //目标路径 + public String path; + //默认字符编码 + public String charset = "UTF-8"; + //文件的每一行 + public String[] lines; + //注释符 + public static final String ANNOTATION_CHAR = "#"; + + + public PropertiesUtil(File file) throws IOException { + this.file = file; + this.lines = getFileLines(file); + } + + public PropertiesUtil(String path) throws IOException { + this.path = path; + this.lines = getFileLines(path); + } + + + /* + * 根据键获取值 + * + * @param key 键 + * @return: java.lang.String + */ + public String get(String key) { + for (String line : lines) { + if (hasKey(line, key)) { + return getLineValue(line); + } + } + return null; + } + + + /** + * 添加配置 + * + * @param key 键 + * @param value 值 + * @param descriptions 字段描述,可添加多个描述 + * @return: boolean + */ + public boolean add(String key, String value, String... descriptions) { + List lineList = new ArrayList<>(Arrays.asList(lines)); + for (String description : descriptions) { + lineList.add(ANNOTATION_CHAR + description); + } + lineList.add(key.trim() + "=" + value.trim()); + return commit(lineList.toArray(new String[0])); + } + + + /** + * 设置键值对 + * + * @param key 键 + * @param value 值 + * @return: boolean + */ + public boolean set(String key, String value) { + boolean isHave = false; + for (int i = 0; i < lines.length; i++) { + if (hasKey(lines[i], key)) { + isHave = true; + lines[i] = key + "=" + value; + } + } + if (!isHave) { + add(key, value); + } + return commit(lines); + } + + /** + * 设置键值对 + * + * @param key 键 + * @param value 值 + * @return: boolean + */ + public boolean set(String key, String value, String... descriptions) { + boolean isHave = false; + for (int i = 0; i < lines.length; i++) { + if (hasKey(lines[i], key)) { + isHave = true; + lines[i] = key + "=" + value; + List lineList = new ArrayList<>(Arrays.asList(lines)); + for (String description : descriptions) { + while (1 == 1) { + if (i - 1 >= 0 && lineList.get(i - 1).toString().contains("#")) { + lineList.remove(i - 1); + i = i - 1; + } else { + break; + } + } + lineList.add(i, ANNOTATION_CHAR + description); + } + lines = lineList.toArray(new String[0]); + break; + } + } + if (!isHave) { + add(key, value, descriptions); + } + return commit(lines); + } + + /* + * 删除键值对 + * + * @param key 键 + * @return: boolean + */ + public boolean delete(String key) { + List lineList = new ArrayList<>(Arrays.asList(lines)); + lineList.removeIf(line -> hasKey(line, key)); + return commit(lineList.toArray(new String[0])); + } + + /* + * 保存文件 + * + * @param lines 文件每一行 + * @return: boolean + */ + public boolean commit(String[] lines) { + synchronized (this) { + this.lines = lines; + try (BufferedWriter bufferedWriter = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), charset))) { + StringBuilder data = new StringBuilder(); + for (String line : lines) { + data.append(line).append('\n'); + } + bufferedWriter.write(data.toString()); + return true; + } catch (IOException e) { + e.printStackTrace(); + } + } + return false; + } + + + /* + * 获取一行中的 key 值 + * + * @param line 目标行 + * @return: java.lang.String + */ + public String getLineKey(String line) { + return line.substring(0, line.indexOf('=')).trim(); + } + + /** + * 获取一行中的 value 值 + * + * @param line 目标行 + * @return: java.lang.String + */ + + public String getLineValue(String line) { + return line.substring(line.indexOf('=') + 1).trim(); + } + + + /** + * 如果是键值对行(不以 # 开头,并且包含 = 符号),则返回 true ,如果是注释行则返回 false。 + * + * @return: boolean + */ + public boolean isValidLine(String line) { + return !line.trim().startsWith("#") && line.contains("="); + } + + /** + * 判断一行中是否有key 键 + * + * @param line 目标行 + * @param key 目标键 + * @return: boolean + */ + public boolean hasKey(String line, String key) { + return isValidLine(line) && key.equals(getLineKey(line)); + } + + public boolean hasKey(String key) { + List lineList = new ArrayList<>(Arrays.asList(lines)); + for (int i = 0; i < lineList.size(); i++) { + String line = lineList.get(i); + if (hasKey(line, key)) { + return true; + } + if (i == lineList.size() - 1) { + return false; + } + } + return false; + } + + /** + * 获取文件的每一行 + * + * @param file 目标文件 + * @return: java.lang.String[] + */ + public String[] getFileLines(File file) { + + try (BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(new FileInputStream(file), charset));) { + String line; + List lines = new ArrayList<>(); + while ((line = bufferedReader.readLine()) != null) { + lines.add(line); + } + return lines.toArray(new String[0]); + } catch (IOException e) { + e.printStackTrace(); + return null; + } + } + + /** + * 获取文件的每一行,如果路径不存在,则读取 resource 路径下的文件,如果resource路径不存在,则抛出IOException异常 + * + * @param path 目标路径 + * @return: java.lang.String[] + */ + public String[] getFileLines(String path) throws IOException { + File file = new File(path); + if (file.isFile()) { + this.file = file; + return getFileLines(file); + } else { + URL url = getClass().getClassLoader().getResource(path); + if (url == null) { + throw new FileNotFoundException("resource path is not found"); + } + file = new File(url.getPath()); + if (file.isFile()) { + this.file = file; + return getFileLines(file); + } else { + throw new FileNotFoundException("properties file is not found"); + } + } + } + + + // Type conversion + + public boolean getBoolean(String key) { + return Boolean.parseBoolean(get(key)); + } + + public int getInt(String key) { + return Integer.parseInt(get(key)); + } + + public float getFloat(String key) { + return Float.parseFloat(get(key)); + } + + public double getDouble(String key) { + return Double.parseDouble(get(key)); + } + + public short getShort(String key) { + return Short.parseShort(get(key)); + } + + public long getLong(String key) { + return Long.parseLong(get(key)); + } + + //getter and setter + + public File getFile() { + return file; + } + + public void setFile(File file) { + this.file = file; + } + + public String getCharset() { + return charset; + } + + public void setCharset(String charset) { + this.charset = charset; + } + + public String[] getLines() { + return lines; + } + + public void setLines(String[] lines) { + this.lines = lines; + } + +} diff --git a/FortressGetDataInterface/src/main/java/com/nmggs/query/common/utils/TokenUtil.java b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/utils/TokenUtil.java new file mode 100644 index 0000000..800288d --- /dev/null +++ b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/utils/TokenUtil.java @@ -0,0 +1,95 @@ +package com.nmggs.query.common.utils; + +import com.auth0.jwt.JWT; +import com.auth0.jwt.JWTVerifier; +import com.auth0.jwt.algorithms.Algorithm; +import com.auth0.jwt.interfaces.DecodedJWT; +import lombok.extern.slf4j.Slf4j; +import org.apache.commons.lang3.StringUtils; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpSession; +import java.util.Date; +import java.util.HashMap; +import java.util.Map; + +@Slf4j +public class TokenUtil { + /** + * token秘钥 + */ + private static String TOKEN_SECRET; + /** + * 设置过期时间 + */ + private static long EXPIRE_DATE; + + static { + String SystemType = PropertiesUtil.getValue("SystemType"); + if (StringUtils.isEmpty(SystemType) || SystemType.equals("0") || SystemType.equals("2")) { + TOKEN_SECRET = "apiManager"; + } else if (SystemType.equals("1")) { + TOKEN_SECRET = "5267915"; + } + String tokenOutTime = PropertiesUtil.getValue("tokenOutTime"); + if (StringUtils.isEmpty(tokenOutTime)) { + tokenOutTime = "30"; + } + EXPIRE_DATE = Long.parseLong(tokenOutTime) * 60 * 1000; + } + + + public static boolean verify(String token) { + /** + * @desc 验证token,通过返回true + * @params [token]需要校验的串 + **/ + try { + Algorithm algorithm = Algorithm.HMAC256(TOKEN_SECRET); + JWTVerifier verifier = JWT.require(algorithm).build(); + verifier.verify(token); + return true; + } catch (Exception e) { + log.error("验证token异常", e); + return false; + } + } + + public static String reToken(String token, HttpServletRequest request) { + /** + * @desc 验证token,通过返回true + * @params [token]需要校验的串 + **/ + try { + Algorithm algorithm = Algorithm.HMAC256(TOKEN_SECRET); + JWTVerifier verifier = JWT.require(algorithm).build(); + DecodedJWT jwt = verifier.verify(token); + String Man = jwt.getClaim("Man").toString().replaceAll("\\\"", ""); + String Manid = jwt.getClaim("Manid").toString().replaceAll("\\\"", ""); + String Manno = jwt.getClaim("Manno").toString().replaceAll("\\\"", ""); + //过期时间 + Date date = new Date(System.currentTimeMillis() + EXPIRE_DATE); + //秘钥及加密算法 + //设置头部信息 + Map header = new HashMap<>(); + header.put("typ", "JWT"); + header.put("alg", "HS256"); + token = JWT.create() + .withHeader(header) + .withClaim("Man", Man) + .withClaim("Manid", Manid) + .withClaim("Manno", Manno) + .withExpiresAt(date) + .sign(algorithm); + HttpSession session = request.getSession(); + session.setAttribute("token", token); + session.setAttribute("Man", Man); + session.setAttribute("Manid", Manid); + session.setAttribute("Manno", Manno); + return token; + } catch (Exception e) { + log.error("获取token异常", e); + return ""; + } + } +} diff --git a/FortressGetDataInterface/src/main/java/com/nmggs/query/common/utils/UuidUtil.java b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/utils/UuidUtil.java new file mode 100644 index 0000000..37e1b9f --- /dev/null +++ b/FortressGetDataInterface/src/main/java/com/nmggs/query/common/utils/UuidUtil.java @@ -0,0 +1,14 @@ +package com.nmggs.query.common.utils; + +import java.util.UUID; + +/** + * @author: shuguang + * @date: 2022年10月25日 18:01 + * @description: 生成uuid区分请求 + */ +public class UuidUtil { + public static String getUuid() { + return UUID.randomUUID().toString().replace("-",""); + } + } diff --git a/FortressGetDataInterface/src/main/java/com/nmggs/query/controller/InForwardOutController.java b/FortressGetDataInterface/src/main/java/com/nmggs/query/controller/InForwardOutController.java new file mode 100644 index 0000000..e149360 --- /dev/null +++ b/FortressGetDataInterface/src/main/java/com/nmggs/query/controller/InForwardOutController.java @@ -0,0 +1,279 @@ +package com.nmggs.query.controller; + +import com.nmggs.query.common.config.ExecutionTimeLogger; +import com.nmggs.query.common.utils.PropertiesUtil; +import com.nmggs.query.common.utils.UuidUtil; +import lombok.extern.slf4j.Slf4j; +import org.springframework.http.HttpEntity; +import org.springframework.http.HttpHeaders; +import org.springframework.http.HttpMethod; +import org.springframework.http.MediaType; +import org.springframework.http.ResponseEntity; +import org.springframework.util.LinkedMultiValueMap; +import org.springframework.util.MultiValueMap; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestHeader; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.client.RestTemplate; +import org.springframework.web.util.UriComponentsBuilder; + +import javax.annotation.Resource; +import java.util.Map; + +/** + * @author: shuguang + * @date: 2025年09月09日 11:33 + * @description: 内网转发请求外网接口 + */ +@RestController +@Slf4j +public class InForwardOutController { + + @Resource + private RestTemplate restTemplate; + + + /** + *请求接口获取国道DCPC对账数据 + */ + @GetMapping("/DCPC/getDCPCData") + @ExecutionTimeLogger + public ResponseEntity getDCPCData(@RequestHeader Map headers, + @RequestParam Map params) { + String uuid = UuidUtil.getUuid(); + log.info("[uuid:{}]-接收到请求,请求头:{},请求参数:{}", uuid, headers, params); + + // 构造请求头 + HttpHeaders requestHeaders = new HttpHeaders(); + headers.forEach(requestHeaders::add); + + // 构造查询参数 + MultiValueMap queryParams = new LinkedMultiValueMap<>(); + params.forEach(queryParams::add); + + // 构造请求体 + HttpEntity requestEntity = new HttpEntity<>(requestHeaders); + + // 构造完整 URL + String url = PropertiesUtil.getValue("reconciliationInterfaceUrl"); + UriComponentsBuilder builder = UriComponentsBuilder.fromHttpUrl(url); + queryParams.forEach((key, value) -> builder.queryParam(key, value.toArray(new String[0]))); + + // 调用接口 + ResponseEntity response = restTemplate.exchange( + builder.build().toUri(), + HttpMethod.GET, + requestEntity, + String.class + ); + + // 返回接口的响应 + log.info("[uuid:{}]-请求接口{}成功,响应状态码:{},响应体:{}", uuid, url, response.getStatusCode(), response.getBody()); + return new ResponseEntity<>(response.getBody(), response.getStatusCode()); + } + + /** + *DCPC请求验签接口 + */ + @GetMapping("/DCPC/verify") + @ExecutionTimeLogger + public ResponseEntity verify(@RequestHeader Map headers, + @RequestParam Map params) { + String uuid = UuidUtil.getUuid(); + log.info("[uuid:{}]-接收到请求,请求头:{},请求参数:{}", uuid, headers, params); + + // 构造请求头 + HttpHeaders requestHeaders = new HttpHeaders(); + headers.forEach(requestHeaders::add); + + // 构造查询参数 + MultiValueMap queryParams = new LinkedMultiValueMap<>(); + params.forEach(queryParams::add); + + // 构造请求体 + HttpEntity requestEntity = new HttpEntity<>(requestHeaders); + + // 构造完整 URL + String verifyInterfaceUrl = PropertiesUtil.getValue("verifyInterfaceUrl"); + UriComponentsBuilder builder = UriComponentsBuilder.fromHttpUrl(verifyInterfaceUrl); + queryParams.forEach((key, value) -> builder.queryParam(key, value.toArray(new String[0]))); + + // 调用接口 + ResponseEntity response = restTemplate.exchange( + builder.build().toUri(), + HttpMethod.GET, + requestEntity, + String.class + ); + + // 返回接口的响应 + log.info("[uuid:{}]-请求接口{}成功,响应状态码:{},响应体:{}", uuid, verifyInterfaceUrl, response.getStatusCode(), response.getBody()); + return new ResponseEntity<>(response.getBody(), response.getStatusCode()); + } + + + /** + *重点隐患车辆车辆验证token接口 + */ + @PostMapping("/ZDYH/verifyToken") + @ExecutionTimeLogger + public ResponseEntity verifyToken(@RequestHeader Map headers, + @RequestParam Map params) { + String uuid = UuidUtil.getUuid(); + log.info("[uuid:{}]-接收到请求,请求头:{},请求体:{}", uuid, headers, params); + + // 构造请求头 + HttpHeaders requestHeaders = new HttpHeaders(); + headers.forEach(requestHeaders::add); + requestHeaders.setContentType(MediaType.APPLICATION_FORM_URLENCODED); + + // 构造请求体 + MultiValueMap formBody = new LinkedMultiValueMap<>(); + params.forEach(formBody::add); + + HttpEntity> requestEntity = new HttpEntity<>(formBody, requestHeaders); + + // 调用接口 + String loginAuthenticationUrl = PropertiesUtil.getValue("loginAuthenticationUrl"); + ResponseEntity response = restTemplate.postForEntity(loginAuthenticationUrl, requestEntity, String.class); + + // 返回接口的响应 + log.info("[uuid:{}]-请求接口{}成功,响应状态码:{},响应体:{}", uuid, loginAuthenticationUrl, response.getStatusCode(), response.getBody()); + return new ResponseEntity<>(response.getBody(), response.getStatusCode()); + } + /** + *推送全量省内黑名单到指定接口 + */ + @PostMapping("/ZDYH/sendProBlackListToInterface") + @ExecutionTimeLogger + public ResponseEntity sendProBlackListToInterface(@RequestHeader Map headers, @RequestBody Map body) { + String uuid = UuidUtil.getUuid(); + log.info("[uuid:{}]-接收到请求,请求头:{}",uuid, headers); + // 构造请求头 + HttpHeaders requestHeaders = new HttpHeaders(); + headers.forEach(requestHeaders::add); + // 构造请求体 + HttpEntity> requestEntity = new HttpEntity<>(body, requestHeaders); + // 调用接口 + String sendProBlackListUrl = PropertiesUtil.getValue("sendProBlackListUrl"); + ResponseEntity response = restTemplate.postForEntity(sendProBlackListUrl, requestEntity, String.class); + + // 返回接口的响应 + log.info("[uuid:{}]-请求接口{}成功,响应状态码:{},响应体:{}", uuid, sendProBlackListUrl, response.getStatusCode(), response.getBody()); + return new ResponseEntity<>(response.getBody(), response.getStatusCode()); + } + /** + *拉取内蒙省内拍照执法设备预警的逃费车辆信息 + */ + @GetMapping("/ZDYH/getFeeEvasionInfo") + @ExecutionTimeLogger + public ResponseEntity getFeeEvasionInfo(@RequestHeader Map headers, + @RequestParam Map params) { + String uuid = UuidUtil.getUuid(); + log.info("[uuid:{}]-接收到请求,请求头:{},请求参数:{}", uuid, headers, params); + + // 构造请求头 + HttpHeaders requestHeaders = new HttpHeaders(); + headers.forEach(requestHeaders::add); + + // 构造查询参数 + MultiValueMap queryParams = new LinkedMultiValueMap<>(); + params.forEach(queryParams::add); + + // 构造请求体 + HttpEntity requestEntity = new HttpEntity<>(requestHeaders); + + // 构造完整 URL + String sendProBlackListUrl = PropertiesUtil.getValue("sendProBlackListUrl"); + UriComponentsBuilder builder = UriComponentsBuilder.fromHttpUrl(sendProBlackListUrl); + queryParams.forEach((key, value) -> builder.queryParam(key, value.toArray(new String[0]))); + + // 调用接口 + ResponseEntity response = restTemplate.exchange( + builder.build().toUri(), + HttpMethod.GET, + requestEntity, + String.class + ); + + // 返回接口的响应 + log.info("[uuid:{}]-请求接口{}成功,响应状态码:{},响应体:{}", uuid, sendProBlackListUrl, response.getStatusCode(), response.getBody()); + return new ResponseEntity<>(response.getBody(), response.getStatusCode()); + } + @PostMapping("/DCPC/getLanePass") + @ExecutionTimeLogger + public ResponseEntity getLanePass(@RequestHeader Map headers, @RequestBody Map body) { + String uuid = UuidUtil.getUuid(); + log.info("[uuid:{}]-接收到请求,请求头:{},请求体:{}",uuid, headers, body); + // 构造请求头 + HttpHeaders requestHeaders = new HttpHeaders(); + headers.forEach(requestHeaders::add); + // 构造请求体 + HttpEntity> requestEntity = new HttpEntity<>(body, requestHeaders); + // 调用接口 + String dCPCLanePassInterfaceUrl = PropertiesUtil.getValue("DCPCLanePassInterfaceUrl"); + ResponseEntity response = restTemplate.postForEntity(dCPCLanePassInterfaceUrl, requestEntity, String.class); + + // 返回接口的响应 + log.info("[uuid:{}]-请求接口{}成功,响应状态码:{},响应体:{}", uuid, dCPCLanePassInterfaceUrl, response.getStatusCode(), response.getBody()); + return new ResponseEntity<>(response.getBody(), response.getStatusCode()); + } + @PostMapping("/DCPC/getFeepay") + @ExecutionTimeLogger + public ResponseEntity getFeepay(@RequestHeader Map headers, @RequestBody Map body) { + String uuid = UuidUtil.getUuid(); + log.info("[uuid:{}]-接收到请求,请求头:{},请求体:{}",uuid, headers, body); + // 构造请求头 + HttpHeaders requestHeaders = new HttpHeaders(); + headers.forEach(requestHeaders::add); + // 构造请求体 + HttpEntity> requestEntity = new HttpEntity<>(body, requestHeaders); + // 调用接口 + String dCPCFeePayInterfaceUrl = PropertiesUtil.getValue("DCPCFeePayInterfaceUrl"); + ResponseEntity response = restTemplate.postForEntity(dCPCFeePayInterfaceUrl, requestEntity, String.class); + + // 返回接口的响应 + log.info("[uuid:{}]-请求接口{}成功,响应状态码:{},响应体:{}", uuid, dCPCFeePayInterfaceUrl, response.getStatusCode(), response.getBody()); + return new ResponseEntity<>(response.getBody(), response.getStatusCode()); + } + @PostMapping("/DCPC/getRunawayfeepay") + @ExecutionTimeLogger + public ResponseEntity getRunawayfeepay(@RequestHeader Map headers, @RequestBody Map body) { + String uuid = UuidUtil.getUuid(); + log.info("[uuid:{}]-接收到请求,请求头:{},请求体:{}",uuid, headers, body); + // 构造请求头 + HttpHeaders requestHeaders = new HttpHeaders(); + headers.forEach(requestHeaders::add); + // 构造请求体 + HttpEntity> requestEntity = new HttpEntity<>(body, requestHeaders); + // 调用接口 + String dCPCRunAwayInterfaceUrl = PropertiesUtil.getValue("DCPCRunAwayInterfaceUrl"); + ResponseEntity response = restTemplate.postForEntity(dCPCRunAwayInterfaceUrl, requestEntity, String.class); + + // 返回接口的响应 + log.info("[uuid:{}]-请求接口{}成功,响应状态码:{},响应体:{}", uuid, dCPCRunAwayInterfaceUrl, response.getStatusCode(), response.getBody()); + return new ResponseEntity<>(response.getBody(), response.getStatusCode()); + } + @PostMapping("/DCPC/getReversalfeepay") + @ExecutionTimeLogger + public ResponseEntity getReversalfeepay(@RequestHeader Map headers, @RequestBody Map body) { + String uuid = UuidUtil.getUuid(); + log.info("[uuid:{}]-接收到请求,请求头:{},请求体:{}",uuid, headers, body); + // 构造请求头 + HttpHeaders requestHeaders = new HttpHeaders(); + headers.forEach(requestHeaders::add); + // 构造请求体 + HttpEntity> requestEntity = new HttpEntity<>(body, requestHeaders); + // 调用接口 + String dCPCRefundInterfaceUrl = PropertiesUtil.getValue("DCPCRefundInterfaceUrl"); + ResponseEntity response = restTemplate.postForEntity(dCPCRefundInterfaceUrl, requestEntity, String.class); + + // 返回接口的响应 + log.info("[uuid:{}]-请求接口{}成功,响应状态码:{},响应体:{}", uuid, dCPCRefundInterfaceUrl, response.getStatusCode(), response.getBody()); + return new ResponseEntity<>(response.getBody(), response.getStatusCode()); + } + +} diff --git a/FortressGetDataInterface/src/main/java/com/nmggs/query/controller/OutForwardInController.java b/FortressGetDataInterface/src/main/java/com/nmggs/query/controller/OutForwardInController.java new file mode 100644 index 0000000..342803a --- /dev/null +++ b/FortressGetDataInterface/src/main/java/com/nmggs/query/controller/OutForwardInController.java @@ -0,0 +1,193 @@ +package com.nmggs.query.controller; + +import com.nmggs.query.common.config.ExecutionTimeLogger; +import com.nmggs.query.common.emnu.Constant; +import com.nmggs.query.common.utils.PropertiesUtil; +import com.nmggs.query.common.utils.UuidUtil; +import lombok.extern.slf4j.Slf4j; +import org.springframework.http.HttpEntity; +import org.springframework.http.HttpHeaders; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestHeader; +import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.client.RestTemplate; + +import javax.annotation.Resource; +import java.util.Map; + +/** + * @author: shuguang + * @date: 2025年09月09日 11:43 + * @description: 外网转发请求内网接口 + */ +@RestController +@Slf4j +public class OutForwardInController { + + @Resource + private RestTemplate restTemplate; + + + @PostMapping("/ZDYH/getEquipmentInfo") + @ExecutionTimeLogger + public ResponseEntity getEquipmentInfo(@RequestHeader Map headers, @RequestBody Map body) { + String uuid = UuidUtil.getUuid(); + log.info("[uuid:{}]-接收到请求,请求头:{},请求体:{}",uuid, headers, body); + String intranetIp = PropertiesUtil.getValue("IntranetIp"); + String intranetPort = PropertiesUtil.getValue("IntranetPort"); + // 构造请求头 + HttpHeaders requestHeaders = new HttpHeaders(); + headers.forEach(requestHeaders::add); + + // 构造请求体 + HttpEntity> requestEntity = new HttpEntity<>(body, requestHeaders); + + // 调用接口 + String url = urlSplicing(intranetIp, intranetPort,Constant.INTRANET_ZDYH_GET_EQUIPMENT_INFO); + ResponseEntity response = restTemplate.postForEntity(url, requestEntity, String.class); + + // 返回接口的响应 + log.info("[uuid:{}]-请求接口{}成功,响应状态码:{},响应体:{}", uuid, url, response.getStatusCode(), response.getBody()); + return new ResponseEntity<>(response.getBody(), response.getStatusCode()); + } + + + @PostMapping("/DCPC/baseinfo/gantryfee") + @ExecutionTimeLogger + public ResponseEntity gantryFee(@RequestHeader Map headers, @RequestBody Map body) { + String uuid = UuidUtil.getUuid(); + log.info("[uuid:{}]-接收到请求,请求头:{},请求体:{}",uuid, headers, body); + String intranetIp = PropertiesUtil.getValue("IntranetIp"); + String intranetPort = PropertiesUtil.getValue("IntranetPort"); + // 构造请求头 + HttpHeaders requestHeaders = new HttpHeaders(); + headers.forEach(requestHeaders::add); + + // 构造请求体 + HttpEntity> requestEntity = new HttpEntity<>(body, requestHeaders); + + // 调用接口 + String url = urlSplicing(intranetIp, intranetPort,Constant.INTRANET_DCPC_BASE_INFO_GANTRY_FEE); + ResponseEntity response = restTemplate.postForEntity(url, requestEntity, String.class); + + // 返回接口的响应 + log.info("[uuid:{}]-请求接口{}成功,响应状态码:{}", uuid, url, response.getStatusCode()); + return new ResponseEntity<>(response.getBody(), response.getStatusCode()); + } + @PostMapping("/DCPC/baseinfo/gantryinfo") + @ExecutionTimeLogger + public ResponseEntity gantryinfo(@RequestHeader Map headers, @RequestBody Map body) { + String uuid = UuidUtil.getUuid(); + log.info("[uuid:{}]-接收到请求,请求头:{},请求体:{}",uuid, headers, body); + String intranetIp = PropertiesUtil.getValue("IntranetIp"); + String intranetPort = PropertiesUtil.getValue("IntranetPort"); + // 构造请求头 + HttpHeaders requestHeaders = new HttpHeaders(); + headers.forEach(requestHeaders::add); + + // 构造请求体 + HttpEntity> requestEntity = new HttpEntity<>(body, requestHeaders); + + // 调用接口 + String url = urlSplicing(intranetIp, intranetPort,Constant.INTRANET_DCPC_BASE_INFO_GANTRY_INFO); + ResponseEntity response = restTemplate.postForEntity(url, requestEntity, String.class); + + // 返回接口的响应 + log.info("[uuid:{}]-请求接口{}成功,响应状态码:{}", uuid, url, response.getStatusCode()); + return new ResponseEntity<>(response.getBody(), response.getStatusCode()); + } + @PostMapping("/DCPC/baseinfo/minPath") + @ExecutionTimeLogger + public ResponseEntity minPath(@RequestHeader Map headers, @RequestBody Map body) { + String uuid = UuidUtil.getUuid(); + log.info("[uuid:{}]-接收到请求,请求头:{},请求体:{}",uuid, headers, body); + String intranetIp = PropertiesUtil.getValue("IntranetIp"); + String intranetPort = PropertiesUtil.getValue("IntranetPort"); + // 构造请求头 + HttpHeaders requestHeaders = new HttpHeaders(); + headers.forEach(requestHeaders::add); + + // 构造请求体 + HttpEntity> requestEntity = new HttpEntity<>(body, requestHeaders); + + // 调用接口 + String url = urlSplicing(intranetIp, intranetPort,Constant.INTRANET_DCPC_BASE_INFO_MIN_PATH); + ResponseEntity response = restTemplate.postForEntity(url, requestEntity, String.class); + + // 返回接口的响应 + log.info("[uuid:{}]-请求接口{}成功,响应状态码:{}", uuid, url, response.getStatusCode()); + return new ResponseEntity<>(response.getBody(), response.getStatusCode()); + } + @PostMapping("/DCPC/baseinfo/QueryExStationTrans") + @ExecutionTimeLogger + public ResponseEntity queryExStationTrans(@RequestHeader Map headers, @RequestBody Map body) { + String uuid = UuidUtil.getUuid(); + log.info("[uuid:{}]-接收到请求,请求头:{},请求体:{}",uuid, headers, body); + String intranetIp = PropertiesUtil.getValue("IntranetIp"); + String intranetPort = PropertiesUtil.getValue("IntranetPort"); + // 构造请求头 + HttpHeaders requestHeaders = new HttpHeaders(); + headers.forEach(requestHeaders::add); + + // 构造请求体 + HttpEntity> requestEntity = new HttpEntity<>(body, requestHeaders); + + // 调用接口 + String url = urlSplicing(intranetIp, intranetPort,Constant.INTRANET_DCPC_BASE_INFO_QUERY_EX_STATION); + ResponseEntity response = restTemplate.postForEntity(url, requestEntity, String.class); + + // 返回接口的响应 + log.info("[uuid:{}]-请求接口{}成功,响应状态码:{}", uuid, url, response.getStatusCode()); + return new ResponseEntity<>(response.getBody(), response.getStatusCode()); + } + @PostMapping("/DCPC/getData") + @ExecutionTimeLogger + public ResponseEntity getData(@RequestHeader Map headers, @RequestBody Map body) { + String uuid = UuidUtil.getUuid(); + log.info("[uuid:{}]-接收到请求,请求头:{},请求体:{}",uuid, headers, body); + String intranetIp = PropertiesUtil.getValue("IntranetIp"); + String intranetPort = PropertiesUtil.getValue("IntranetPort"); + // 构造请求头 + HttpHeaders requestHeaders = new HttpHeaders(); + headers.forEach(requestHeaders::add); + + // 构造请求体 + HttpEntity> requestEntity = new HttpEntity<>(body, requestHeaders); + + // 调用接口 + String url = urlSplicing(intranetIp, intranetPort,Constant.INTRANET_DCPC_GET_DATA); + ResponseEntity response = restTemplate.postForEntity(url, requestEntity, String.class); + + // 返回接口的响应 + log.info("[uuid:{}]-请求接口{}成功,响应状态码:{}", uuid, url, response.getStatusCode()); + return new ResponseEntity<>(response.getBody(), response.getStatusCode()); + } + @PostMapping("/ReceptionMobileWeighInfo") + @ExecutionTimeLogger + public ResponseEntity receptionMobileWeighInfo(@RequestHeader Map headers, @RequestBody Map body) { + String uuid = UuidUtil.getUuid(); + log.info("[uuid:{}]-接收到请求,请求头:{},请求体:{}",uuid, headers, body); + String intranetIp = PropertiesUtil.getValue("IntranetIp"); + String intranetPort = PropertiesUtil.getValue("IntranetPort"); + // 构造请求头 + HttpHeaders requestHeaders = new HttpHeaders(); + headers.forEach(requestHeaders::add); + + // 构造请求体 + HttpEntity> requestEntity = new HttpEntity<>(body, requestHeaders); + + // 调用接口 + String url = urlSplicing(intranetIp, intranetPort,Constant.INTRANET_MOBILE_WEIGH); + ResponseEntity response = restTemplate.postForEntity(url, requestEntity, String.class); + + // 返回接口的响应 + log.info("[uuid:{}]-请求接口{}成功,响应状态码:{},响应体:{}", uuid, url, response.getStatusCode(), response.getBody()); + return new ResponseEntity<>(response.getBody(), response.getStatusCode()); + } + private String urlSplicing(String fortressIp, String fortressPort, String interfaceAddress) { + return Constant.HTTP + fortressIp + Constant.STR_COLON + fortressPort + Constant.STR_SLASH+ interfaceAddress; + + } +} diff --git a/FortressGetDataInterface/src/main/java/com/nmggs/query/entity/Res.java b/FortressGetDataInterface/src/main/java/com/nmggs/query/entity/Res.java new file mode 100644 index 0000000..a1107e3 --- /dev/null +++ b/FortressGetDataInterface/src/main/java/com/nmggs/query/entity/Res.java @@ -0,0 +1,38 @@ +package com.nmggs.query.entity; + + +import com.nmggs.query.common.emnu.MessageEnum; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.io.Serializable; + +/** + * @author: shuguang + * @date: 2022年11月14日 14:54 + * @description: 返回结果集 + */ +@Data +@AllArgsConstructor +@NoArgsConstructor +public class Res implements Serializable { + private static final long serialVersionUID = 1L; + private Integer code; + private Object data = ""; + private String message = ""; + public static Res success() { + Res result = new Res(); + result.setCode(Integer.valueOf(MessageEnum.成功.getCode())); + result.setMessage(MessageEnum.成功.getMessage()); + return result; + } + + public static Res success(Object data) { + Res result = new Res(); + result.setCode(Integer.valueOf(MessageEnum.成功.getCode())); + result.setMessage(MessageEnum.成功.getMessage()); + result.setData(data); + return result; + } +} diff --git a/FortressGetDataInterface/src/main/java/com/nmggs/query/entity/ResData.java b/FortressGetDataInterface/src/main/java/com/nmggs/query/entity/ResData.java new file mode 100644 index 0000000..655032b --- /dev/null +++ b/FortressGetDataInterface/src/main/java/com/nmggs/query/entity/ResData.java @@ -0,0 +1,21 @@ +package com.nmggs.query.entity; + +import lombok.Data; + +/** + * @author: shuguang + * @date: 2025年08月20日 9:22 + * @description: 封装密钥和加密数据 + */ +@Data +public class ResData { + /** + * 密钥 + */ + private String key; + /** + * 加密后的数据 + */ + private String data; + +} diff --git a/FortressGetDataInterface/src/main/java/com/nmggs/query/test/GreenQRInfo.java b/FortressGetDataInterface/src/main/java/com/nmggs/query/test/GreenQRInfo.java new file mode 100644 index 0000000..370c617 --- /dev/null +++ b/FortressGetDataInterface/src/main/java/com/nmggs/query/test/GreenQRInfo.java @@ -0,0 +1,102 @@ +package com.nmggs.query.test; + +/** + * @author: shuguang + * @date: 2025年05月23日 14:56 + * @description: + */ +public class GreenQRInfo { + public static final int CARD_TYPE_PASS = 2; + public static final int CARD_TYPE_TICKET = 5; + public static final int CARD_TYPE_STORE = 22; + public static final int CARD_TYPE_TOLLY = 23; + + public static final int MEDIA_TYPE_OBU = 1; + public static final int MEDIA_TYPE_CPC = 2; + public static final int MEDIA_TYPE_TICKET = 3; + public static final int MEDIA_TYPE_UNKNOWN = 9; + + public static final int PAY_TYPE_STORE = 1; + public static final int PAY_TYPE_TOLLY = 2; + + public static String getVehPlateAll(String vehPlate, int vehPlateColor) { + if (vehPlate.isEmpty()) { + return ""; + } + return vehPlate + "_" + vehPlateColor; + } + + + public static String getGreenQRInfo(String vehPlate, int vehPlateColor, String enStationId, String exStationId, + int enWeight, int exWeight, int cardTP, String id, String passId, + long exTime, int payType, int cash, int inCash, int vehSign, String appointId, int provCount) { + int mediaType = cardTP2MediaType(cardTP); + int transPayType = 0; + if (payType == PAY_TYPE_STORE || payType == PAY_TYPE_TOLLY) { + transPayType = 2; + if (cardTP == CARD_TYPE_TOLLY || cardTP == CARD_TYPE_STORE) { + transPayType = 1; + } + } + + String sVehSign = "0xFF"; + if (!(appointId.isEmpty() || "0".equals(appointId))) { + sVehSign = String.format("0x%02X", vehSign); + } + + String sExWeight = ""; + if (exWeight > 1000) { + sExWeight = Integer.toString(exWeight); + } + + if (transPayType != 0) { + return String.format("%s|%s|%s|%d|%s|%d|%s|%s|%s|%d|%d|%d|%s|%d", + getVehPlateAll(vehPlate, vehPlateColor), enStationId, exStationId, enWeight, sExWeight, mediaType, + id, passId, DateTime2Str(exTime), transPayType, inCash, cash, sVehSign, provCount); + } else { + return String.format("%s|%s|%s|%d|%s|%d|%s|%s|%s|%s|%d|%d|%s|%d", + getVehPlateAll(vehPlate, vehPlateColor), enStationId, exStationId, enWeight, sExWeight, mediaType, + id, passId, DateTime2Str(exTime), "", cash, cash, sVehSign, provCount); + } + } + + public static int cardTP2MediaType(int cardTP) { + switch (cardTP) { + case CARD_TYPE_STORE: + case CARD_TYPE_TOLLY: + return MEDIA_TYPE_OBU; + case CARD_TYPE_PASS: + return MEDIA_TYPE_CPC; + case CARD_TYPE_TICKET: + return MEDIA_TYPE_TICKET; + default: + return MEDIA_TYPE_UNKNOWN; + } + } + + public static String DateTime2Str(long exTime) { + return String.format("%tF % + + + + + + + + + + + + ${APP_NAME} + + + + + + + + + + + + + + + + + + + + + ${PATTERN} + + + + INFO + + + + + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + ${DEV_FILE_PATH}/output-%d{yyyy-MM-dd}.%i.log + ${myMaxHistory} + ${myFileSize} + ${myTotalSizeCap} + + + + + + ${DEV_FILE_PATH}/log_info_%d{yyyy-MM-dd_HH}.%i.txt + + ${myMaxHistory} + ${myFileSize} + ${myTotalSizeCap} + + true + + ${PATTERN} + utf-8 + + + INFO + ACCEPT + DENY + + + + + + ${DEV_FILE_PATH}/log_error_%d{yyyy-MM-dd_HH}.%i.txt + + ${myMaxHistory} + ${myFileSize} + ${myTotalSizeCap} + + true + + ${PATTERN} + utf-8 + + + ERROR + ACCEPT + DENY + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + 1024 + + true + + + + + + + + + + + + + + + + + + + + + + + 0 + + + 2048 + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/FortressGetDataInterface/src/main/resources/static/application.properties b/FortressGetDataInterface/src/main/resources/static/application.properties new file mode 100644 index 0000000..4d40d7d --- /dev/null +++ b/FortressGetDataInterface/src/main/resources/static/application.properties @@ -0,0 +1,81 @@ +#\u65E5\u5FD7\u9ED8\u8BA4\u914D\u7F6E +spring.logback.appName=FortressGetDataInterface +spring.logback.level=INFO +spring.logback.myMaxHistory=30 +spring.logback.myFileSize=10MB +spring.logback.myTotalSizeCap=2GB +#\u7F16\u7801\u8BBE\u7F6E +spring.http.encoding.charset=UTF-8 +spring.http.encoding.enabled=true +spring.http.encoding.force=true +spring.messages.encoding=UTF-8 +spring.profiles.active=dev +server.resources.static-locations=classpath:/resources/,classpath:/static/ +# \u8FDE\u63A5\u6C60\u914D\u7F6E +spring.datasource.name=com.zaxxer.hikari.HikariConfig +spring.datasource.type=com.zaxxer.hikari.HikariConfig +spring.datasource.hikari.maximum-pool-size=25 +spring.datasource.hikari.auto-commit=true +spring.datasource.hikari.idle-timeout=0 +spring.datasource.hikari.pool-name=DatebookHikariCP +spring.datasource.hikari.max-lifetime=300000 +spring.datasource.hikari.connection-timeout=60000 +spring.datasource.hikari.minimum-idle=1 +spring.datasource.hikari.allow-pool-suspension: true +spring.datasource.hikari.register-mbeans: true +spring.datasource.hikari.leak-detection-threshold: 60000 +# xml\u5730\u5740 +spring.mybatis-plus.mapper-locations=com.nmggs.query.mapper/*Mapper.xml +# \u5B9E\u4F53\u626B\u63CF\uFF0C\u591A\u4E2Apackage\u7528\u9017\u53F7\u6216\u8005\u5206\u53F7\u5206\u9694 +#\u81EA\u5DF1\u7684\u5B9E\u4F53\u7C7B\u5730\u5740 +spring.mybatis-plus.type-aliases-package=com.nmggs.query.entity +# \u670D\u52A1\u6A21\u5757 +# \u70ED\u90E8\u7F72\u5F00\u5173 +spring.devtools.restart.enabled=true +#\u91CD\u542F\u76EE\u5F55 +spring.devtools.restart.additional-paths=src/main +#redis + +spring.session.store-type=none +#spring-session +spring.session.timeout: PT30M + +spring.datasource.initialization-mode=always + + +#\u53BB\u9664\u9644\u4EF6\u5927\u5C0F\u9650\u5236 +#\u8BF7\u6C42\u53C2\u6570\u957F\u5EA6 +server.tomcat.max-http-form-post-size=10MB +server.max-http-header-size=10MB + +#\u6700\u5927\u4E0A\u4F20\u6587\u4EF6\u5927\u5C0F(10MB) + +spring.servlet.multipart.max-file-size = -1 +spring.servlet.multipart.max-request-size = -1 +server.tomcat.max-swallow-size = -1 +server.tomcat.max-threads=1000 +#\u4E0D\u53EF\u914D\u7F6E\u7684\u914D\u7F6E\u9879 +mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl +logging.level.com.nmgs.ssmpback.mapper=debug +sqlClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver +sqlvalidationQuery=SELECT 1 +OracleClassName=oracle.jdbc.driver.OracleDriver +OraclevalidationQuery=SELECT 1 from dual +DMClassName=dm.jdbc.driver.DmDriver +DMvalidationQuery=SELECT 1 +MySQLClassName=com.mysql.cj.jdbc.Driver +MySQLvalidationQuery=SELECT 1 +GoldenDBClassName=com.goldendb.jdbc.Driver +GoldenvalidationQuery=SELECT 1 FROM DUAL +mybatis-plus.configuration.map-underscore-to-camel-case=false +spring.jackson.time-zone=GMT+8 +spring.jackson.date-format=yyyy-MM-dd HH:mm:ss + + + + +#前端vue +spring.web.resources.static-locations= classpath:/static/ + + + diff --git a/FortressGetDataInterface/src/main/resources/version/1.0.0.txt b/FortressGetDataInterface/src/main/resources/version/1.0.0.txt new file mode 100644 index 0000000..27c38bf --- /dev/null +++ b/FortressGetDataInterface/src/main/resources/version/1.0.0.txt @@ -0,0 +1,3 @@ +序号 日期 版本号 说明 +1 2025年09月09日 1.0.0 堡垒机中间转发内外网请求 + diff --git a/FortressGetDataInterface/target/FortressGetDataInterface.war b/FortressGetDataInterface/target/FortressGetDataInterface.war new file mode 100644 index 0000000..9be85ef Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface.war differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface.war.original b/FortressGetDataInterface/target/FortressGetDataInterface.war.original new file mode 100644 index 0000000..6c86ee1 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface.war.original differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/META-INF/MANIFEST.MF b/FortressGetDataInterface/target/FortressGetDataInterface/META-INF/MANIFEST.MF new file mode 100644 index 0000000..cb4699c --- /dev/null +++ b/FortressGetDataInterface/target/FortressGetDataInterface/META-INF/MANIFEST.MF @@ -0,0 +1,9 @@ +Manifest-Version: 1.0 +Created-By: IntelliJ IDEA +Built-By: shuguang +Build-Jdk: Oracle OpenJDK version 1.8.0_181 +Implementation-Title: FortressGetDataInterface +Implementation-Version: 0.0.1-SNAPSHOT +Implementation-Vendor-Id: com.nmggs +Main-Class: ${start-class} + diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/META-INF/spring.factories b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/META-INF/spring.factories new file mode 100644 index 0000000..ff2c6dd --- /dev/null +++ b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/META-INF/spring.factories @@ -0,0 +1,2 @@ +org.springframework.boot.env.EnvironmentPostProcessor=\ + com.nmggs.query.common.config.MyEnvironmentPostProcessor diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/FortressGetDataInterfaceApplication.class b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/FortressGetDataInterfaceApplication.class new file mode 100644 index 0000000..bf7e171 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/FortressGetDataInterfaceApplication.class differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/config/AppConfig.class b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/config/AppConfig.class new file mode 100644 index 0000000..195cc5c Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/config/AppConfig.class differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/config/CaptchaConfig.class b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/config/CaptchaConfig.class new file mode 100644 index 0000000..af9902b Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/config/CaptchaConfig.class differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/config/CorsConfig.class b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/config/CorsConfig.class new file mode 100644 index 0000000..3a76738 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/config/CorsConfig.class differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/config/ErrorConfig.class b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/config/ErrorConfig.class new file mode 100644 index 0000000..f802f41 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/config/ErrorConfig.class differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/config/ExecutionTimeLogger.class b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/config/ExecutionTimeLogger.class new file mode 100644 index 0000000..04ed2e8 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/config/ExecutionTimeLogger.class differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/config/ExecutionTimeLoggerAspect.class b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/config/ExecutionTimeLoggerAspect.class new file mode 100644 index 0000000..63a3b97 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/config/ExecutionTimeLoggerAspect.class differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/config/FilterConfig.class b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/config/FilterConfig.class new file mode 100644 index 0000000..710d713 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/config/FilterConfig.class differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/config/MyEnvironmentPostProcessor.class b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/config/MyEnvironmentPostProcessor.class new file mode 100644 index 0000000..92833d6 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/config/MyEnvironmentPostProcessor.class differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/emnu/Constant.class b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/emnu/Constant.class new file mode 100644 index 0000000..f8706cf Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/emnu/Constant.class differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/emnu/MessageEnum.class b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/emnu/MessageEnum.class new file mode 100644 index 0000000..28887f5 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/emnu/MessageEnum.class differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/exception/PPException.class b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/exception/PPException.class new file mode 100644 index 0000000..ca7f009 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/exception/PPException.class differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/exception/PPExceptionHandler.class b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/exception/PPExceptionHandler.class new file mode 100644 index 0000000..3603cf3 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/exception/PPExceptionHandler.class differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/exception/Result.class b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/exception/Result.class new file mode 100644 index 0000000..4ab4486 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/exception/Result.class differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/utils/PathUtil.class b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/utils/PathUtil.class new file mode 100644 index 0000000..9b1f623 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/utils/PathUtil.class differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/utils/PropertiesUtil.class b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/utils/PropertiesUtil.class new file mode 100644 index 0000000..edd35ca Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/utils/PropertiesUtil.class differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/utils/TokenUtil.class b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/utils/TokenUtil.class new file mode 100644 index 0000000..3353f9f Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/utils/TokenUtil.class differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/utils/UuidUtil.class b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/utils/UuidUtil.class new file mode 100644 index 0000000..f49f602 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/common/utils/UuidUtil.class differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/controller/InForwardOutController.class b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/controller/InForwardOutController.class new file mode 100644 index 0000000..9ad6f4a Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/controller/InForwardOutController.class differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/controller/OutForwardInController.class b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/controller/OutForwardInController.class new file mode 100644 index 0000000..67d2481 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/controller/OutForwardInController.class differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/entity/Res.class b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/entity/Res.class new file mode 100644 index 0000000..3dd8405 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/entity/Res.class differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/entity/ResData.class b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/entity/ResData.class new file mode 100644 index 0000000..8f3e63f Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/entity/ResData.class differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/test/GreenQRInfo.class b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/test/GreenQRInfo.class new file mode 100644 index 0000000..4606b91 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/com/nmggs/query/test/GreenQRInfo.class differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/logback-spring.xml b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/logback-spring.xml new file mode 100644 index 0000000..26a369a --- /dev/null +++ b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/logback-spring.xml @@ -0,0 +1,255 @@ + + + + + + + + + + + + + ${APP_NAME} + + + + + + + + + + + + + + + + + + + + + ${PATTERN} + + + + INFO + + + + + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + ${DEV_FILE_PATH}/output-%d{yyyy-MM-dd}.%i.log + ${myMaxHistory} + ${myFileSize} + ${myTotalSizeCap} + + + + + + ${DEV_FILE_PATH}/log_info_%d{yyyy-MM-dd_HH}.%i.txt + + ${myMaxHistory} + ${myFileSize} + ${myTotalSizeCap} + + true + + ${PATTERN} + utf-8 + + + INFO + ACCEPT + DENY + + + + + + ${DEV_FILE_PATH}/log_error_%d{yyyy-MM-dd_HH}.%i.txt + + ${myMaxHistory} + ${myFileSize} + ${myTotalSizeCap} + + true + + ${PATTERN} + utf-8 + + + ERROR + ACCEPT + DENY + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + 1024 + + true + + + + + + + + + + + + + + + + + + + + + + + 0 + + + 2048 + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/static/application.properties b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/static/application.properties new file mode 100644 index 0000000..4d40d7d --- /dev/null +++ b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/static/application.properties @@ -0,0 +1,81 @@ +#\u65E5\u5FD7\u9ED8\u8BA4\u914D\u7F6E +spring.logback.appName=FortressGetDataInterface +spring.logback.level=INFO +spring.logback.myMaxHistory=30 +spring.logback.myFileSize=10MB +spring.logback.myTotalSizeCap=2GB +#\u7F16\u7801\u8BBE\u7F6E +spring.http.encoding.charset=UTF-8 +spring.http.encoding.enabled=true +spring.http.encoding.force=true +spring.messages.encoding=UTF-8 +spring.profiles.active=dev +server.resources.static-locations=classpath:/resources/,classpath:/static/ +# \u8FDE\u63A5\u6C60\u914D\u7F6E +spring.datasource.name=com.zaxxer.hikari.HikariConfig +spring.datasource.type=com.zaxxer.hikari.HikariConfig +spring.datasource.hikari.maximum-pool-size=25 +spring.datasource.hikari.auto-commit=true +spring.datasource.hikari.idle-timeout=0 +spring.datasource.hikari.pool-name=DatebookHikariCP +spring.datasource.hikari.max-lifetime=300000 +spring.datasource.hikari.connection-timeout=60000 +spring.datasource.hikari.minimum-idle=1 +spring.datasource.hikari.allow-pool-suspension: true +spring.datasource.hikari.register-mbeans: true +spring.datasource.hikari.leak-detection-threshold: 60000 +# xml\u5730\u5740 +spring.mybatis-plus.mapper-locations=com.nmggs.query.mapper/*Mapper.xml +# \u5B9E\u4F53\u626B\u63CF\uFF0C\u591A\u4E2Apackage\u7528\u9017\u53F7\u6216\u8005\u5206\u53F7\u5206\u9694 +#\u81EA\u5DF1\u7684\u5B9E\u4F53\u7C7B\u5730\u5740 +spring.mybatis-plus.type-aliases-package=com.nmggs.query.entity +# \u670D\u52A1\u6A21\u5757 +# \u70ED\u90E8\u7F72\u5F00\u5173 +spring.devtools.restart.enabled=true +#\u91CD\u542F\u76EE\u5F55 +spring.devtools.restart.additional-paths=src/main +#redis + +spring.session.store-type=none +#spring-session +spring.session.timeout: PT30M + +spring.datasource.initialization-mode=always + + +#\u53BB\u9664\u9644\u4EF6\u5927\u5C0F\u9650\u5236 +#\u8BF7\u6C42\u53C2\u6570\u957F\u5EA6 +server.tomcat.max-http-form-post-size=10MB +server.max-http-header-size=10MB + +#\u6700\u5927\u4E0A\u4F20\u6587\u4EF6\u5927\u5C0F(10MB) + +spring.servlet.multipart.max-file-size = -1 +spring.servlet.multipart.max-request-size = -1 +server.tomcat.max-swallow-size = -1 +server.tomcat.max-threads=1000 +#\u4E0D\u53EF\u914D\u7F6E\u7684\u914D\u7F6E\u9879 +mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl +logging.level.com.nmgs.ssmpback.mapper=debug +sqlClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver +sqlvalidationQuery=SELECT 1 +OracleClassName=oracle.jdbc.driver.OracleDriver +OraclevalidationQuery=SELECT 1 from dual +DMClassName=dm.jdbc.driver.DmDriver +DMvalidationQuery=SELECT 1 +MySQLClassName=com.mysql.cj.jdbc.Driver +MySQLvalidationQuery=SELECT 1 +GoldenDBClassName=com.goldendb.jdbc.Driver +GoldenvalidationQuery=SELECT 1 FROM DUAL +mybatis-plus.configuration.map-underscore-to-camel-case=false +spring.jackson.time-zone=GMT+8 +spring.jackson.date-format=yyyy-MM-dd HH:mm:ss + + + + +#前端vue +spring.web.resources.static-locations= classpath:/static/ + + + diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/version/1.0.0.txt b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/version/1.0.0.txt new file mode 100644 index 0000000..27c38bf --- /dev/null +++ b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/classes/version/1.0.0.txt @@ -0,0 +1,3 @@ +序号 日期 版本号 说明 +1 2025年09月09日 1.0.0 堡垒机中间转发内外网请求 + diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/EndPassJava-1.0.0.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/EndPassJava-1.0.0.jar new file mode 100644 index 0000000..00e1948 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/EndPassJava-1.0.0.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/HikariCP-3.4.5.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/HikariCP-3.4.5.jar new file mode 100644 index 0000000..95247be Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/HikariCP-3.4.5.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/accessors-smart-1.2.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/accessors-smart-1.2.jar new file mode 100644 index 0000000..f4505e9 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/accessors-smart-1.2.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/android-json-0.0.20131108.vaadin1.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/android-json-0.0.20131108.vaadin1.jar new file mode 100644 index 0000000..add495f Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/android-json-0.0.20131108.vaadin1.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/annotations-13.0.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/annotations-13.0.jar new file mode 100644 index 0000000..fb794be Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/annotations-13.0.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/apiguardian-api-1.1.0.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/apiguardian-api-1.1.0.jar new file mode 100644 index 0000000..e6fcead Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/apiguardian-api-1.1.0.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/asm-5.0.4.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/asm-5.0.4.jar new file mode 100644 index 0000000..cdb283d Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/asm-5.0.4.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/aspectjweaver-1.9.6.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/aspectjweaver-1.9.6.jar new file mode 100644 index 0000000..61277b6 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/aspectjweaver-1.9.6.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/assertj-core-3.13.2.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/assertj-core-3.13.2.jar new file mode 100644 index 0000000..709037a Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/assertj-core-3.13.2.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/bcprov-jdk18on-1.78.1.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/bcprov-jdk18on-1.78.1.jar new file mode 100644 index 0000000..6726f83 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/bcprov-jdk18on-1.78.1.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/byte-buddy-1.10.19.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/byte-buddy-1.10.19.jar new file mode 100644 index 0000000..93ad6cf Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/byte-buddy-1.10.19.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/byte-buddy-agent-1.10.19.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/byte-buddy-agent-1.10.19.jar new file mode 100644 index 0000000..c8cf86b Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/byte-buddy-agent-1.10.19.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/checker-qual-3.43.0.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/checker-qual-3.43.0.jar new file mode 100644 index 0000000..cbb34f8 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/checker-qual-3.43.0.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/classmate-1.5.1.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/classmate-1.5.1.jar new file mode 100644 index 0000000..819f5ea Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/classmate-1.5.1.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/commons-codec-1.13.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/commons-codec-1.13.jar new file mode 100644 index 0000000..bf6ccb3 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/commons-codec-1.13.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/commons-io-2.6.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/commons-io-2.6.jar new file mode 100644 index 0000000..00556b1 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/commons-io-2.6.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/commons-lang3-3.12.0.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/commons-lang3-3.12.0.jar new file mode 100644 index 0000000..4d434a2 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/commons-lang3-3.12.0.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/dom4j-1.6.1.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/dom4j-1.6.1.jar new file mode 100644 index 0000000..c8c4dbb Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/dom4j-1.6.1.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/druid-1.1.10.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/druid-1.1.10.jar new file mode 100644 index 0000000..545dfa7 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/druid-1.1.10.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/druid-spring-boot-starter-1.1.10.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/druid-spring-boot-starter-1.1.10.jar new file mode 100644 index 0000000..817e4f1 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/druid-spring-boot-starter-1.1.10.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/dynamic-datasource-spring-boot-starter-3.5.2.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/dynamic-datasource-spring-boot-starter-3.5.2.jar new file mode 100644 index 0000000..5c5e6a4 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/dynamic-datasource-spring-boot-starter-3.5.2.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/error_prone_annotations-2.28.0.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/error_prone_annotations-2.28.0.jar new file mode 100644 index 0000000..43175aa Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/error_prone_annotations-2.28.0.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/failureaccess-1.0.2.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/failureaccess-1.0.2.jar new file mode 100644 index 0000000..d73ab80 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/failureaccess-1.0.2.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/fastjson-2.0.12.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/fastjson-2.0.12.jar new file mode 100644 index 0000000..de8f8b7 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/fastjson-2.0.12.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/fastjson2-2.0.12.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/fastjson2-2.0.12.jar new file mode 100644 index 0000000..44e2dab Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/fastjson2-2.0.12.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/fastjson2-extension-2.0.12.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/fastjson2-extension-2.0.12.jar new file mode 100644 index 0000000..e9df8fd Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/fastjson2-extension-2.0.12.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/filters-2.0.235-1.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/filters-2.0.235-1.jar new file mode 100644 index 0000000..1acab56 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/filters-2.0.235-1.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/guava-33.3.1-jre.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/guava-33.3.1-jre.jar new file mode 100644 index 0000000..9a88e16 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/guava-33.3.1-jre.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/hamcrest-2.1.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/hamcrest-2.1.jar new file mode 100644 index 0000000..e323d5e Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/hamcrest-2.1.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/hibernate-validator-6.0.22.Final.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/hibernate-validator-6.0.22.Final.jar new file mode 100644 index 0000000..353be43 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/hibernate-validator-6.0.22.Final.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/httpclient-4.5.13.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/httpclient-4.5.13.jar new file mode 100644 index 0000000..218ee25 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/httpclient-4.5.13.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/httpcore-4.4.14.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/httpcore-4.4.14.jar new file mode 100644 index 0000000..349db18 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/httpcore-4.4.14.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/httpmime-4.5.13.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/httpmime-4.5.13.jar new file mode 100644 index 0000000..cc52f44 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/httpmime-4.5.13.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/hutool-all-5.8.1.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/hutool-all-5.8.1.jar new file mode 100644 index 0000000..0efcca3 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/hutool-all-5.8.1.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/j2objc-annotations-3.0.0.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/j2objc-annotations-3.0.0.jar new file mode 100644 index 0000000..c293336 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/j2objc-annotations-3.0.0.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jackson-annotations-2.11.3.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jackson-annotations-2.11.3.jar new file mode 100644 index 0000000..132396a Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jackson-annotations-2.11.3.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jackson-core-2.11.3.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jackson-core-2.11.3.jar new file mode 100644 index 0000000..549d366 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jackson-core-2.11.3.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jackson-databind-2.11.3.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jackson-databind-2.11.3.jar new file mode 100644 index 0000000..f24cf42 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jackson-databind-2.11.3.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jackson-datatype-jdk8-2.11.3.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jackson-datatype-jdk8-2.11.3.jar new file mode 100644 index 0000000..f19632a Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jackson-datatype-jdk8-2.11.3.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jackson-datatype-jsr310-2.11.3.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jackson-datatype-jsr310-2.11.3.jar new file mode 100644 index 0000000..58c2531 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jackson-datatype-jsr310-2.11.3.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jackson-module-parameter-names-2.11.3.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jackson-module-parameter-names-2.11.3.jar new file mode 100644 index 0000000..dea4ea6 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jackson-module-parameter-names-2.11.3.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jakarta.activation-api-1.2.2.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jakarta.activation-api-1.2.2.jar new file mode 100644 index 0000000..3cc969d Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jakarta.activation-api-1.2.2.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jakarta.annotation-api-1.3.5.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jakarta.annotation-api-1.3.5.jar new file mode 100644 index 0000000..606d992 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jakarta.annotation-api-1.3.5.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jakarta.validation-api-2.0.2.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jakarta.validation-api-2.0.2.jar new file mode 100644 index 0000000..d68c9f7 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jakarta.validation-api-2.0.2.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jakarta.xml.bind-api-2.3.3.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jakarta.xml.bind-api-2.3.3.jar new file mode 100644 index 0000000..b8c7dc1 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jakarta.xml.bind-api-2.3.3.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/java-jwt-4.0.0.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/java-jwt-4.0.0.jar new file mode 100644 index 0000000..813d78a Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/java-jwt-4.0.0.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jboss-logging-3.4.1.Final.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jboss-logging-3.4.1.Final.jar new file mode 100644 index 0000000..42cd1e0 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jboss-logging-3.4.1.Final.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/joda-time-2.10.13.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/joda-time-2.10.13.jar new file mode 100644 index 0000000..00f20ad Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/joda-time-2.10.13.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/json-path-2.4.0.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/json-path-2.4.0.jar new file mode 100644 index 0000000..6229306 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/json-path-2.4.0.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/json-smart-2.3.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/json-smart-2.3.jar new file mode 100644 index 0000000..0cd52ea Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/json-smart-2.3.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jsonassert-1.5.0.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jsonassert-1.5.0.jar new file mode 100644 index 0000000..aec04c5 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jsonassert-1.5.0.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jsoup-1.15.3.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jsoup-1.15.3.jar new file mode 100644 index 0000000..5506d7f Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jsoup-1.15.3.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jsqlparser-4.4.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jsqlparser-4.4.jar new file mode 100644 index 0000000..b3eeba5 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jsqlparser-4.4.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jsr305-3.0.2.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jsr305-3.0.2.jar new file mode 100644 index 0000000..59222d9 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jsr305-3.0.2.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jul-to-slf4j-1.7.30.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jul-to-slf4j-1.7.30.jar new file mode 100644 index 0000000..7dea58b Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/jul-to-slf4j-1.7.30.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/junit-4.12.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/junit-4.12.jar new file mode 100644 index 0000000..3a7fc26 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/junit-4.12.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/junit-jupiter-5.6.3.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/junit-jupiter-5.6.3.jar new file mode 100644 index 0000000..f5cb7b1 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/junit-jupiter-5.6.3.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/junit-jupiter-api-5.6.3.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/junit-jupiter-api-5.6.3.jar new file mode 100644 index 0000000..cf786ad Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/junit-jupiter-api-5.6.3.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/junit-jupiter-engine-5.6.3.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/junit-jupiter-engine-5.6.3.jar new file mode 100644 index 0000000..a30ed13 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/junit-jupiter-engine-5.6.3.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/junit-jupiter-params-5.6.3.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/junit-jupiter-params-5.6.3.jar new file mode 100644 index 0000000..4ec08b2 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/junit-jupiter-params-5.6.3.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/junit-platform-commons-1.6.3.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/junit-platform-commons-1.6.3.jar new file mode 100644 index 0000000..bf2fa8b Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/junit-platform-commons-1.6.3.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/junit-platform-engine-1.6.3.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/junit-platform-engine-1.6.3.jar new file mode 100644 index 0000000..d5611fe Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/junit-platform-engine-1.6.3.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/junit-vintage-engine-5.6.3.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/junit-vintage-engine-5.6.3.jar new file mode 100644 index 0000000..988c6b1 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/junit-vintage-engine-5.6.3.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/kaptcha-2.3.2.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/kaptcha-2.3.2.jar new file mode 100644 index 0000000..1924015 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/kaptcha-2.3.2.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/kotlin-stdlib-1.3.72.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/kotlin-stdlib-1.3.72.jar new file mode 100644 index 0000000..7007da0 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/kotlin-stdlib-1.3.72.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/kotlin-stdlib-common-1.3.72.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/kotlin-stdlib-common-1.3.72.jar new file mode 100644 index 0000000..c7e2fe8 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/kotlin-stdlib-common-1.3.72.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/kotlin-stdlib-jdk7-1.3.72.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/kotlin-stdlib-jdk7-1.3.72.jar new file mode 100644 index 0000000..9a5ca5a Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/kotlin-stdlib-jdk7-1.3.72.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/kotlin-stdlib-jdk8-1.3.72.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/kotlin-stdlib-jdk8-1.3.72.jar new file mode 100644 index 0000000..6adc87a Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/kotlin-stdlib-jdk8-1.3.72.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/lettuce-core-5.2.2.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/lettuce-core-5.2.2.RELEASE.jar new file mode 100644 index 0000000..2af6a60 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/lettuce-core-5.2.2.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar new file mode 100644 index 0000000..45832c0 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/log4j-1.2.17.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/log4j-1.2.17.jar new file mode 100644 index 0000000..1d425cf Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/log4j-1.2.17.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/log4j-api-2.13.3.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/log4j-api-2.13.3.jar new file mode 100644 index 0000000..f604e80 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/log4j-api-2.13.3.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/log4j-to-slf4j-2.12.1.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/log4j-to-slf4j-2.12.1.jar new file mode 100644 index 0000000..3e4852f Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/log4j-to-slf4j-2.12.1.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/logback-classic-1.2.3.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/logback-classic-1.2.3.jar new file mode 100644 index 0000000..bed00c0 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/logback-classic-1.2.3.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/logback-core-1.2.3.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/logback-core-1.2.3.jar new file mode 100644 index 0000000..487b395 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/logback-core-1.2.3.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mockito-core-3.1.0.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mockito-core-3.1.0.jar new file mode 100644 index 0000000..e6c483b Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mockito-core-3.1.0.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mockito-junit-jupiter-3.1.0.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mockito-junit-jupiter-3.1.0.jar new file mode 100644 index 0000000..7c13b63 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mockito-junit-jupiter-3.1.0.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mybatis-3.5.10.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mybatis-3.5.10.jar new file mode 100644 index 0000000..0f941e0 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mybatis-3.5.10.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mybatis-plus-3.5.2.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mybatis-plus-3.5.2.jar new file mode 100644 index 0000000..0ec8605 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mybatis-plus-3.5.2.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mybatis-plus-annotation-3.5.2.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mybatis-plus-annotation-3.5.2.jar new file mode 100644 index 0000000..e411976 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mybatis-plus-annotation-3.5.2.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mybatis-plus-boot-starter-3.5.2.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mybatis-plus-boot-starter-3.5.2.jar new file mode 100644 index 0000000..183a869 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mybatis-plus-boot-starter-3.5.2.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mybatis-plus-core-3.5.2.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mybatis-plus-core-3.5.2.jar new file mode 100644 index 0000000..933dfe7 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mybatis-plus-core-3.5.2.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mybatis-plus-extension-3.5.2.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mybatis-plus-extension-3.5.2.jar new file mode 100644 index 0000000..98b6808 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mybatis-plus-extension-3.5.2.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mybatis-spring-2.0.7.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mybatis-spring-2.0.7.jar new file mode 100644 index 0000000..a930b60 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mybatis-spring-2.0.7.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mysql-connector-java-8.0.22.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mysql-connector-java-8.0.22.jar new file mode 100644 index 0000000..412d81f Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/mysql-connector-java-8.0.22.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/netty-buffer-4.1.55.Final.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/netty-buffer-4.1.55.Final.jar new file mode 100644 index 0000000..5847684 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/netty-buffer-4.1.55.Final.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/netty-codec-4.1.55.Final.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/netty-codec-4.1.55.Final.jar new file mode 100644 index 0000000..38712fe Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/netty-codec-4.1.55.Final.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/netty-common-4.1.55.Final.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/netty-common-4.1.55.Final.jar new file mode 100644 index 0000000..0e4420d Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/netty-common-4.1.55.Final.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/netty-handler-4.1.55.Final.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/netty-handler-4.1.55.Final.jar new file mode 100644 index 0000000..ae0d214 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/netty-handler-4.1.55.Final.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/netty-resolver-4.1.55.Final.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/netty-resolver-4.1.55.Final.jar new file mode 100644 index 0000000..212c810 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/netty-resolver-4.1.55.Final.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/netty-transport-4.1.55.Final.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/netty-transport-4.1.55.Final.jar new file mode 100644 index 0000000..d36c015 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/netty-transport-4.1.55.Final.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/objenesis-2.6.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/objenesis-2.6.jar new file mode 100644 index 0000000..b4b29d5 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/objenesis-2.6.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/ojdbc8-19.3.0.0.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/ojdbc8-19.3.0.0.jar new file mode 100644 index 0000000..2ebb05e Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/ojdbc8-19.3.0.0.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/okhttp-4.9.0.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/okhttp-4.9.0.jar new file mode 100644 index 0000000..9f4bb28 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/okhttp-4.9.0.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/okio-2.8.0.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/okio-2.8.0.jar new file mode 100644 index 0000000..bac6c6e Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/okio-2.8.0.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/ons-19.3.0.0.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/ons-19.3.0.0.jar new file mode 100644 index 0000000..e8b37b4 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/ons-19.3.0.0.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/opentest4j-1.2.0.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/opentest4j-1.2.0.jar new file mode 100644 index 0000000..d500636 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/opentest4j-1.2.0.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/oraclepki-19.3.0.0.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/oraclepki-19.3.0.0.jar new file mode 100644 index 0000000..c1263ad Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/oraclepki-19.3.0.0.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/orai18n-19.3.0.0.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/orai18n-19.3.0.0.jar new file mode 100644 index 0000000..2ed1986 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/orai18n-19.3.0.0.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/osdt_cert-19.3.0.0.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/osdt_cert-19.3.0.0.jar new file mode 100644 index 0000000..31cffe3 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/osdt_cert-19.3.0.0.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/osdt_core-19.3.0.0.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/osdt_core-19.3.0.0.jar new file mode 100644 index 0000000..cb63957 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/osdt_core-19.3.0.0.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/reactive-streams-1.0.3.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/reactive-streams-1.0.3.jar new file mode 100644 index 0000000..b9b487c Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/reactive-streams-1.0.3.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/reactor-core-3.3.12.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/reactor-core-3.3.12.RELEASE.jar new file mode 100644 index 0000000..33534bc Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/reactor-core-3.3.12.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/simplefan-19.3.0.0.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/simplefan-19.3.0.0.jar new file mode 100644 index 0000000..78902df Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/simplefan-19.3.0.0.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/slf4j-api-1.7.30.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/slf4j-api-1.7.30.jar new file mode 100644 index 0000000..29ac26f Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/slf4j-api-1.7.30.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/snakeyaml-1.25.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/snakeyaml-1.25.jar new file mode 100644 index 0000000..0004985 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/snakeyaml-1.25.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-aop-5.2.12.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-aop-5.2.12.RELEASE.jar new file mode 100644 index 0000000..580fc64 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-aop-5.2.12.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-beans-5.2.12.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-beans-5.2.12.RELEASE.jar new file mode 100644 index 0000000..ba2935f Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-beans-5.2.12.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-2.2.13.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-2.2.13.RELEASE.jar new file mode 100644 index 0000000..2778634 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-2.2.13.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-autoconfigure-2.2.13.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-autoconfigure-2.2.13.RELEASE.jar new file mode 100644 index 0000000..414e3a3 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-autoconfigure-2.2.13.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-2.2.13.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-2.2.13.RELEASE.jar new file mode 100644 index 0000000..be8c083 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-2.2.13.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-aop-2.2.13.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-aop-2.2.13.RELEASE.jar new file mode 100644 index 0000000..154855d Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-aop-2.2.13.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-data-redis-2.3.7.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-data-redis-2.3.7.RELEASE.jar new file mode 100644 index 0000000..282d5ab Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-data-redis-2.3.7.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-jdbc-2.2.13.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-jdbc-2.2.13.RELEASE.jar new file mode 100644 index 0000000..8de8db9 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-jdbc-2.2.13.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-json-2.2.13.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-json-2.2.13.RELEASE.jar new file mode 100644 index 0000000..551de8f Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-json-2.2.13.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-logging-2.2.13.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-logging-2.2.13.RELEASE.jar new file mode 100644 index 0000000..7955201 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-logging-2.2.13.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-test-2.2.13.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-test-2.2.13.RELEASE.jar new file mode 100644 index 0000000..abe7a0c Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-test-2.2.13.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-validation-2.2.13.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-validation-2.2.13.RELEASE.jar new file mode 100644 index 0000000..6903ba6 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-validation-2.2.13.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-web-2.2.13.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-web-2.2.13.RELEASE.jar new file mode 100644 index 0000000..ea5bae3 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-starter-web-2.2.13.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-test-2.2.13.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-test-2.2.13.RELEASE.jar new file mode 100644 index 0000000..7e51787 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-test-2.2.13.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-test-autoconfigure-2.2.13.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-test-autoconfigure-2.2.13.RELEASE.jar new file mode 100644 index 0000000..abf823b Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-boot-test-autoconfigure-2.2.13.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-context-5.2.12.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-context-5.2.12.RELEASE.jar new file mode 100644 index 0000000..0fa742e Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-context-5.2.12.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-context-support-5.2.12.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-context-support-5.2.12.RELEASE.jar new file mode 100644 index 0000000..e3c755a Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-context-support-5.2.12.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-core-5.2.12.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-core-5.2.12.RELEASE.jar new file mode 100644 index 0000000..fa93cf6 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-core-5.2.12.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-data-commons-2.3.6.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-data-commons-2.3.6.RELEASE.jar new file mode 100644 index 0000000..91375ac Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-data-commons-2.3.6.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-data-keyvalue-2.3.6.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-data-keyvalue-2.3.6.RELEASE.jar new file mode 100644 index 0000000..6a6cdbf Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-data-keyvalue-2.3.6.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-data-redis-2.3.6.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-data-redis-2.3.6.RELEASE.jar new file mode 100644 index 0000000..e0ad235 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-data-redis-2.3.6.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-expression-5.2.12.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-expression-5.2.12.RELEASE.jar new file mode 100644 index 0000000..eb8587c Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-expression-5.2.12.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-jcl-5.2.12.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-jcl-5.2.12.RELEASE.jar new file mode 100644 index 0000000..4d9ac22 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-jcl-5.2.12.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-jdbc-5.2.12.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-jdbc-5.2.12.RELEASE.jar new file mode 100644 index 0000000..2960cdf Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-jdbc-5.2.12.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-oxm-5.2.12.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-oxm-5.2.12.RELEASE.jar new file mode 100644 index 0000000..6b46976 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-oxm-5.2.12.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-session-core-2.3.1.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-session-core-2.3.1.RELEASE.jar new file mode 100644 index 0000000..4675837 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-session-core-2.3.1.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-session-data-redis-2.3.1.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-session-data-redis-2.3.1.RELEASE.jar new file mode 100644 index 0000000..3d12fad Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-session-data-redis-2.3.1.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-session-jdbc-2.3.1.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-session-jdbc-2.3.1.RELEASE.jar new file mode 100644 index 0000000..0274c80 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-session-jdbc-2.3.1.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-test-5.2.12.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-test-5.2.12.RELEASE.jar new file mode 100644 index 0000000..8f3d3aa Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-test-5.2.12.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-tx-5.2.12.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-tx-5.2.12.RELEASE.jar new file mode 100644 index 0000000..b5418e5 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-tx-5.2.12.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-web-5.2.12.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-web-5.2.12.RELEASE.jar new file mode 100644 index 0000000..050b9be Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-web-5.2.12.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-webmvc-5.2.12.RELEASE.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-webmvc-5.2.12.RELEASE.jar new file mode 100644 index 0000000..0328da9 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/spring-webmvc-5.2.12.RELEASE.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/sqljdbc4-3.0.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/sqljdbc4-3.0.jar new file mode 100644 index 0000000..b73ace0 Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/sqljdbc4-3.0.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/ucp-19.3.0.0.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/ucp-19.3.0.0.jar new file mode 100644 index 0000000..7addc7b Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/ucp-19.3.0.0.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/xml-apis-1.0.b2.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/xml-apis-1.0.b2.jar new file mode 100644 index 0000000..ad33a5a Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/xml-apis-1.0.b2.jar differ diff --git a/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/xmlunit-core-2.6.4.jar b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/xmlunit-core-2.6.4.jar new file mode 100644 index 0000000..71495df Binary files /dev/null and b/FortressGetDataInterface/target/FortressGetDataInterface/WEB-INF/lib/xmlunit-core-2.6.4.jar differ diff --git a/FortressGetDataInterface/target/classes/META-INF/spring.factories b/FortressGetDataInterface/target/classes/META-INF/spring.factories new file mode 100644 index 0000000..ff2c6dd --- /dev/null +++ b/FortressGetDataInterface/target/classes/META-INF/spring.factories @@ -0,0 +1,2 @@ +org.springframework.boot.env.EnvironmentPostProcessor=\ + com.nmggs.query.common.config.MyEnvironmentPostProcessor diff --git a/FortressGetDataInterface/target/classes/com/nmggs/query/FortressGetDataInterfaceApplication.class b/FortressGetDataInterface/target/classes/com/nmggs/query/FortressGetDataInterfaceApplication.class new file mode 100644 index 0000000..bf7e171 Binary files /dev/null and b/FortressGetDataInterface/target/classes/com/nmggs/query/FortressGetDataInterfaceApplication.class differ diff --git a/FortressGetDataInterface/target/classes/com/nmggs/query/common/config/AppConfig.class b/FortressGetDataInterface/target/classes/com/nmggs/query/common/config/AppConfig.class new file mode 100644 index 0000000..195cc5c Binary files /dev/null and b/FortressGetDataInterface/target/classes/com/nmggs/query/common/config/AppConfig.class differ diff --git a/FortressGetDataInterface/target/classes/com/nmggs/query/common/config/CaptchaConfig.class b/FortressGetDataInterface/target/classes/com/nmggs/query/common/config/CaptchaConfig.class new file mode 100644 index 0000000..af9902b Binary files /dev/null and b/FortressGetDataInterface/target/classes/com/nmggs/query/common/config/CaptchaConfig.class differ diff --git a/FortressGetDataInterface/target/classes/com/nmggs/query/common/config/CorsConfig.class b/FortressGetDataInterface/target/classes/com/nmggs/query/common/config/CorsConfig.class new file mode 100644 index 0000000..3a76738 Binary files /dev/null and b/FortressGetDataInterface/target/classes/com/nmggs/query/common/config/CorsConfig.class differ diff --git a/FortressGetDataInterface/target/classes/com/nmggs/query/common/config/ErrorConfig.class b/FortressGetDataInterface/target/classes/com/nmggs/query/common/config/ErrorConfig.class new file mode 100644 index 0000000..f802f41 Binary files /dev/null and b/FortressGetDataInterface/target/classes/com/nmggs/query/common/config/ErrorConfig.class differ diff --git a/FortressGetDataInterface/target/classes/com/nmggs/query/common/config/ExecutionTimeLogger.class b/FortressGetDataInterface/target/classes/com/nmggs/query/common/config/ExecutionTimeLogger.class new file mode 100644 index 0000000..04ed2e8 Binary files /dev/null and b/FortressGetDataInterface/target/classes/com/nmggs/query/common/config/ExecutionTimeLogger.class differ diff --git a/FortressGetDataInterface/target/classes/com/nmggs/query/common/config/ExecutionTimeLoggerAspect.class b/FortressGetDataInterface/target/classes/com/nmggs/query/common/config/ExecutionTimeLoggerAspect.class new file mode 100644 index 0000000..63a3b97 Binary files /dev/null and b/FortressGetDataInterface/target/classes/com/nmggs/query/common/config/ExecutionTimeLoggerAspect.class differ diff --git a/FortressGetDataInterface/target/classes/com/nmggs/query/common/config/FilterConfig.class b/FortressGetDataInterface/target/classes/com/nmggs/query/common/config/FilterConfig.class new file mode 100644 index 0000000..710d713 Binary files /dev/null and b/FortressGetDataInterface/target/classes/com/nmggs/query/common/config/FilterConfig.class differ diff --git a/FortressGetDataInterface/target/classes/com/nmggs/query/common/config/MyEnvironmentPostProcessor.class b/FortressGetDataInterface/target/classes/com/nmggs/query/common/config/MyEnvironmentPostProcessor.class new file mode 100644 index 0000000..92833d6 Binary files /dev/null and b/FortressGetDataInterface/target/classes/com/nmggs/query/common/config/MyEnvironmentPostProcessor.class differ diff --git a/FortressGetDataInterface/target/classes/com/nmggs/query/common/emnu/Constant.class b/FortressGetDataInterface/target/classes/com/nmggs/query/common/emnu/Constant.class new file mode 100644 index 0000000..f8706cf Binary files /dev/null and b/FortressGetDataInterface/target/classes/com/nmggs/query/common/emnu/Constant.class differ diff --git a/FortressGetDataInterface/target/classes/com/nmggs/query/common/emnu/MessageEnum.class b/FortressGetDataInterface/target/classes/com/nmggs/query/common/emnu/MessageEnum.class new file mode 100644 index 0000000..28887f5 Binary files /dev/null and b/FortressGetDataInterface/target/classes/com/nmggs/query/common/emnu/MessageEnum.class differ diff --git a/FortressGetDataInterface/target/classes/com/nmggs/query/common/exception/PPException.class b/FortressGetDataInterface/target/classes/com/nmggs/query/common/exception/PPException.class new file mode 100644 index 0000000..ca7f009 Binary files /dev/null and b/FortressGetDataInterface/target/classes/com/nmggs/query/common/exception/PPException.class differ diff --git a/FortressGetDataInterface/target/classes/com/nmggs/query/common/exception/PPExceptionHandler.class b/FortressGetDataInterface/target/classes/com/nmggs/query/common/exception/PPExceptionHandler.class new file mode 100644 index 0000000..3603cf3 Binary files /dev/null and b/FortressGetDataInterface/target/classes/com/nmggs/query/common/exception/PPExceptionHandler.class differ diff --git a/FortressGetDataInterface/target/classes/com/nmggs/query/common/exception/Result.class b/FortressGetDataInterface/target/classes/com/nmggs/query/common/exception/Result.class new file mode 100644 index 0000000..4ab4486 Binary files /dev/null and b/FortressGetDataInterface/target/classes/com/nmggs/query/common/exception/Result.class differ diff --git a/FortressGetDataInterface/target/classes/com/nmggs/query/common/utils/PathUtil.class b/FortressGetDataInterface/target/classes/com/nmggs/query/common/utils/PathUtil.class new file mode 100644 index 0000000..9b1f623 Binary files /dev/null and b/FortressGetDataInterface/target/classes/com/nmggs/query/common/utils/PathUtil.class differ diff --git a/FortressGetDataInterface/target/classes/com/nmggs/query/common/utils/PropertiesUtil.class b/FortressGetDataInterface/target/classes/com/nmggs/query/common/utils/PropertiesUtil.class new file mode 100644 index 0000000..edd35ca Binary files /dev/null and b/FortressGetDataInterface/target/classes/com/nmggs/query/common/utils/PropertiesUtil.class differ diff --git a/FortressGetDataInterface/target/classes/com/nmggs/query/common/utils/TokenUtil.class b/FortressGetDataInterface/target/classes/com/nmggs/query/common/utils/TokenUtil.class new file mode 100644 index 0000000..3353f9f Binary files /dev/null and b/FortressGetDataInterface/target/classes/com/nmggs/query/common/utils/TokenUtil.class differ diff --git a/FortressGetDataInterface/target/classes/com/nmggs/query/common/utils/UuidUtil.class b/FortressGetDataInterface/target/classes/com/nmggs/query/common/utils/UuidUtil.class new file mode 100644 index 0000000..f49f602 Binary files /dev/null and b/FortressGetDataInterface/target/classes/com/nmggs/query/common/utils/UuidUtil.class differ diff --git a/FortressGetDataInterface/target/classes/com/nmggs/query/controller/InForwardOutController.class b/FortressGetDataInterface/target/classes/com/nmggs/query/controller/InForwardOutController.class new file mode 100644 index 0000000..9ad6f4a Binary files /dev/null and b/FortressGetDataInterface/target/classes/com/nmggs/query/controller/InForwardOutController.class differ diff --git a/FortressGetDataInterface/target/classes/com/nmggs/query/controller/OutForwardInController.class b/FortressGetDataInterface/target/classes/com/nmggs/query/controller/OutForwardInController.class new file mode 100644 index 0000000..67d2481 Binary files /dev/null and b/FortressGetDataInterface/target/classes/com/nmggs/query/controller/OutForwardInController.class differ diff --git a/FortressGetDataInterface/target/classes/com/nmggs/query/entity/Res.class b/FortressGetDataInterface/target/classes/com/nmggs/query/entity/Res.class new file mode 100644 index 0000000..3dd8405 Binary files /dev/null and b/FortressGetDataInterface/target/classes/com/nmggs/query/entity/Res.class differ diff --git a/FortressGetDataInterface/target/classes/com/nmggs/query/entity/ResData.class b/FortressGetDataInterface/target/classes/com/nmggs/query/entity/ResData.class new file mode 100644 index 0000000..8f3e63f Binary files /dev/null and b/FortressGetDataInterface/target/classes/com/nmggs/query/entity/ResData.class differ diff --git a/FortressGetDataInterface/target/classes/com/nmggs/query/test/GreenQRInfo.class b/FortressGetDataInterface/target/classes/com/nmggs/query/test/GreenQRInfo.class new file mode 100644 index 0000000..4606b91 Binary files /dev/null and b/FortressGetDataInterface/target/classes/com/nmggs/query/test/GreenQRInfo.class differ diff --git a/FortressGetDataInterface/target/classes/logback-spring.xml b/FortressGetDataInterface/target/classes/logback-spring.xml new file mode 100644 index 0000000..26a369a --- /dev/null +++ b/FortressGetDataInterface/target/classes/logback-spring.xml @@ -0,0 +1,255 @@ + + + + + + + + + + + + + ${APP_NAME} + + + + + + + + + + + + + + + + + + + + + ${PATTERN} + + + + INFO + + + + + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + ${DEV_FILE_PATH}/output-%d{yyyy-MM-dd}.%i.log + ${myMaxHistory} + ${myFileSize} + ${myTotalSizeCap} + + + + + + ${DEV_FILE_PATH}/log_info_%d{yyyy-MM-dd_HH}.%i.txt + + ${myMaxHistory} + ${myFileSize} + ${myTotalSizeCap} + + true + + ${PATTERN} + utf-8 + + + INFO + ACCEPT + DENY + + + + + + ${DEV_FILE_PATH}/log_error_%d{yyyy-MM-dd_HH}.%i.txt + + ${myMaxHistory} + ${myFileSize} + ${myTotalSizeCap} + + true + + ${PATTERN} + utf-8 + + + ERROR + ACCEPT + DENY + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + 1024 + + true + + + + + + + + + + + + + + + + + + + + + + + 0 + + + 2048 + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/FortressGetDataInterface/target/classes/static/application.properties b/FortressGetDataInterface/target/classes/static/application.properties new file mode 100644 index 0000000..4d40d7d --- /dev/null +++ b/FortressGetDataInterface/target/classes/static/application.properties @@ -0,0 +1,81 @@ +#\u65E5\u5FD7\u9ED8\u8BA4\u914D\u7F6E +spring.logback.appName=FortressGetDataInterface +spring.logback.level=INFO +spring.logback.myMaxHistory=30 +spring.logback.myFileSize=10MB +spring.logback.myTotalSizeCap=2GB +#\u7F16\u7801\u8BBE\u7F6E +spring.http.encoding.charset=UTF-8 +spring.http.encoding.enabled=true +spring.http.encoding.force=true +spring.messages.encoding=UTF-8 +spring.profiles.active=dev +server.resources.static-locations=classpath:/resources/,classpath:/static/ +# \u8FDE\u63A5\u6C60\u914D\u7F6E +spring.datasource.name=com.zaxxer.hikari.HikariConfig +spring.datasource.type=com.zaxxer.hikari.HikariConfig +spring.datasource.hikari.maximum-pool-size=25 +spring.datasource.hikari.auto-commit=true +spring.datasource.hikari.idle-timeout=0 +spring.datasource.hikari.pool-name=DatebookHikariCP +spring.datasource.hikari.max-lifetime=300000 +spring.datasource.hikari.connection-timeout=60000 +spring.datasource.hikari.minimum-idle=1 +spring.datasource.hikari.allow-pool-suspension: true +spring.datasource.hikari.register-mbeans: true +spring.datasource.hikari.leak-detection-threshold: 60000 +# xml\u5730\u5740 +spring.mybatis-plus.mapper-locations=com.nmggs.query.mapper/*Mapper.xml +# \u5B9E\u4F53\u626B\u63CF\uFF0C\u591A\u4E2Apackage\u7528\u9017\u53F7\u6216\u8005\u5206\u53F7\u5206\u9694 +#\u81EA\u5DF1\u7684\u5B9E\u4F53\u7C7B\u5730\u5740 +spring.mybatis-plus.type-aliases-package=com.nmggs.query.entity +# \u670D\u52A1\u6A21\u5757 +# \u70ED\u90E8\u7F72\u5F00\u5173 +spring.devtools.restart.enabled=true +#\u91CD\u542F\u76EE\u5F55 +spring.devtools.restart.additional-paths=src/main +#redis + +spring.session.store-type=none +#spring-session +spring.session.timeout: PT30M + +spring.datasource.initialization-mode=always + + +#\u53BB\u9664\u9644\u4EF6\u5927\u5C0F\u9650\u5236 +#\u8BF7\u6C42\u53C2\u6570\u957F\u5EA6 +server.tomcat.max-http-form-post-size=10MB +server.max-http-header-size=10MB + +#\u6700\u5927\u4E0A\u4F20\u6587\u4EF6\u5927\u5C0F(10MB) + +spring.servlet.multipart.max-file-size = -1 +spring.servlet.multipart.max-request-size = -1 +server.tomcat.max-swallow-size = -1 +server.tomcat.max-threads=1000 +#\u4E0D\u53EF\u914D\u7F6E\u7684\u914D\u7F6E\u9879 +mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl +logging.level.com.nmgs.ssmpback.mapper=debug +sqlClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver +sqlvalidationQuery=SELECT 1 +OracleClassName=oracle.jdbc.driver.OracleDriver +OraclevalidationQuery=SELECT 1 from dual +DMClassName=dm.jdbc.driver.DmDriver +DMvalidationQuery=SELECT 1 +MySQLClassName=com.mysql.cj.jdbc.Driver +MySQLvalidationQuery=SELECT 1 +GoldenDBClassName=com.goldendb.jdbc.Driver +GoldenvalidationQuery=SELECT 1 FROM DUAL +mybatis-plus.configuration.map-underscore-to-camel-case=false +spring.jackson.time-zone=GMT+8 +spring.jackson.date-format=yyyy-MM-dd HH:mm:ss + + + + +#前端vue +spring.web.resources.static-locations= classpath:/static/ + + + diff --git a/FortressGetDataInterface/target/classes/version/1.0.0.txt b/FortressGetDataInterface/target/classes/version/1.0.0.txt new file mode 100644 index 0000000..27c38bf --- /dev/null +++ b/FortressGetDataInterface/target/classes/version/1.0.0.txt @@ -0,0 +1,3 @@ +序号 日期 版本号 说明 +1 2025年09月09日 1.0.0 堡垒机中间转发内外网请求 + diff --git a/FortressGetDataInterface/target/maven-archiver/pom.properties b/FortressGetDataInterface/target/maven-archiver/pom.properties new file mode 100644 index 0000000..483edea --- /dev/null +++ b/FortressGetDataInterface/target/maven-archiver/pom.properties @@ -0,0 +1,3 @@ +version=0.0.1-SNAPSHOT +groupId=com.nmggs +artifactId=FortressGetDataInterface diff --git a/FortressGetDataInterface/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/FortressGetDataInterface/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst new file mode 100644 index 0000000..c5c1c92 --- /dev/null +++ b/FortressGetDataInterface/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst @@ -0,0 +1,23 @@ +com\nmggs\query\common\config\ExecutionTimeLoggerAspect.class +com\nmggs\query\common\config\ErrorConfig.class +com\nmggs\query\entity\ResData.class +com\nmggs\query\common\exception\Result.class +com\nmggs\query\common\config\MyEnvironmentPostProcessor.class +com\nmggs\query\FortressGetDataInterfaceApplication.class +com\nmggs\query\common\emnu\MessageEnum.class +com\nmggs\query\common\config\AppConfig.class +com\nmggs\query\common\exception\PPException.class +com\nmggs\query\common\config\CaptchaConfig.class +com\nmggs\query\controller\OutForwardInController.class +com\nmggs\query\common\emnu\Constant.class +com\nmggs\query\common\config\ExecutionTimeLogger.class +com\nmggs\query\entity\Res.class +com\nmggs\query\common\utils\TokenUtil.class +com\nmggs\query\common\exception\PPExceptionHandler.class +com\nmggs\query\common\utils\UuidUtil.class +com\nmggs\query\common\config\CorsConfig.class +com\nmggs\query\common\config\FilterConfig.class +com\nmggs\query\test\GreenQRInfo.class +com\nmggs\query\common\utils\PropertiesUtil.class +com\nmggs\query\controller\InForwardOutController.class +com\nmggs\query\common\utils\PathUtil.class diff --git a/FortressGetDataInterface/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/FortressGetDataInterface/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst new file mode 100644 index 0000000..8fa1570 --- /dev/null +++ b/FortressGetDataInterface/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -0,0 +1,23 @@ +D:\myproject\git\FortressGetDataInterface\FortressGetDataInterface\src\main\java\com\nmggs\query\controller\InForwardOutController.java +D:\myproject\git\FortressGetDataInterface\FortressGetDataInterface\src\main\java\com\nmggs\query\common\utils\UuidUtil.java +D:\myproject\git\FortressGetDataInterface\FortressGetDataInterface\src\main\java\com\nmggs\query\FortressGetDataInterfaceApplication.java +D:\myproject\git\FortressGetDataInterface\FortressGetDataInterface\src\main\java\com\nmggs\query\common\utils\PropertiesUtil.java +D:\myproject\git\FortressGetDataInterface\FortressGetDataInterface\src\main\java\com\nmggs\query\controller\OutForwardInController.java +D:\myproject\git\FortressGetDataInterface\FortressGetDataInterface\src\main\java\com\nmggs\query\common\config\ExecutionTimeLogger.java +D:\myproject\git\FortressGetDataInterface\FortressGetDataInterface\src\main\java\com\nmggs\query\common\exception\PPException.java +D:\myproject\git\FortressGetDataInterface\FortressGetDataInterface\src\main\java\com\nmggs\query\common\exception\PPExceptionHandler.java +D:\myproject\git\FortressGetDataInterface\FortressGetDataInterface\src\main\java\com\nmggs\query\common\utils\TokenUtil.java +D:\myproject\git\FortressGetDataInterface\FortressGetDataInterface\src\main\java\com\nmggs\query\common\config\FilterConfig.java +D:\myproject\git\FortressGetDataInterface\FortressGetDataInterface\src\main\java\com\nmggs\query\common\config\ExecutionTimeLoggerAspect.java +D:\myproject\git\FortressGetDataInterface\FortressGetDataInterface\src\main\java\com\nmggs\query\common\config\CaptchaConfig.java +D:\myproject\git\FortressGetDataInterface\FortressGetDataInterface\src\main\java\com\nmggs\query\common\config\AppConfig.java +D:\myproject\git\FortressGetDataInterface\FortressGetDataInterface\src\main\java\com\nmggs\query\common\config\ErrorConfig.java +D:\myproject\git\FortressGetDataInterface\FortressGetDataInterface\src\main\java\com\nmggs\query\entity\Res.java +D:\myproject\git\FortressGetDataInterface\FortressGetDataInterface\src\main\java\com\nmggs\query\common\utils\PathUtil.java +D:\myproject\git\FortressGetDataInterface\FortressGetDataInterface\src\main\java\com\nmggs\query\common\emnu\MessageEnum.java +D:\myproject\git\FortressGetDataInterface\FortressGetDataInterface\src\main\java\com\nmggs\query\common\emnu\Constant.java +D:\myproject\git\FortressGetDataInterface\FortressGetDataInterface\src\main\java\com\nmggs\query\test\GreenQRInfo.java +D:\myproject\git\FortressGetDataInterface\FortressGetDataInterface\src\main\java\com\nmggs\query\common\config\CorsConfig.java +D:\myproject\git\FortressGetDataInterface\FortressGetDataInterface\src\main\java\com\nmggs\query\common\exception\Result.java +D:\myproject\git\FortressGetDataInterface\FortressGetDataInterface\src\main\java\com\nmggs\query\entity\ResData.java +D:\myproject\git\FortressGetDataInterface\FortressGetDataInterface\src\main\java\com\nmggs\query\common\config\MyEnvironmentPostProcessor.java