瀏覽代碼

:construction_worker: 测试版环境

lag 7 月之前
父節點
當前提交
54015fc1af

+ 1 - 1
ghjg-item-datashare-server/pom.xml

@@ -4,7 +4,7 @@
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
   <artifactId>ghjg-item-datashare-server</artifactId>
   <build>
-    <finalName>ghThreeDataShare</finalName>
+    <finalName>ghThreeDataShareTest</finalName>
     <plugins>
       <plugin>
         <artifactId>maven-war-plugin</artifactId>

+ 1 - 1
ghjg-item-datashare-server/src/main/java/com/shanghaichengdi/ghjgitem/config/FrequencyLimitInterceptor.java

@@ -32,7 +32,7 @@ public class FrequencyLimitInterceptor implements HandlerInterceptor {
     String token = request.getHeader("Authorization");
     String valueString = redisService.getValue(Constants.TOKEN + Constants.SPLIT, token);
     SysDatashareUser user = JSONObject.parseObject(valueString, SysDatashareUser.class);
-    String requestURI = request.getRequestURI().replace("/ghThreeDataShare","");
+    String requestURI = request.getRequestURI().replace("/ghThreeDataShareTest","");
     FrequencyInfoVo frequencyInfoVo = dataShareServiceNewService.getFrequencyInfoFromCache(
         user.getClient(), requestURI);
     if (!startDelay(frequencyInfoVo)) {

+ 1 - 1
ghjg-item-datashare-server/src/main/java/com/shanghaichengdi/ghjgitem/config/PermissionsVerifyInterceptor.java

@@ -38,7 +38,7 @@ public class PermissionsVerifyInterceptor implements HandlerInterceptor {
     String token = request.getHeader("Authorization");
     String valueString = redisService.getValue(Constants.TOKEN + Constants.SPLIT, token);
     SysDatashareUser user = JSONObject.parseObject(valueString, SysDatashareUser.class);
-    String requestURI = request.getRequestURI().replace("/ghThreeDataShare", "");
+    String requestURI = request.getRequestURI().replace("/ghThreeDataShareTest", "");
     List<SysDatashareServiceNew> list = serviceNewService.list(
         Wrappers.<SysDatashareServiceNew>lambdaQuery()
             .eq(SysDatashareServiceNew::getName, requestURI));

+ 1 - 1
ghjg-item-datashare-server/src/main/resources/profile/test/logback-spring.xml

@@ -3,7 +3,7 @@
     <contextName>logback</contextName>
 
     <!-- name的值是变量的名称,value的值时变量定义的值。通过定义的值会被插入到logger上下文中。定义后,可以使“${}”来使用变量。 -->
-    <property name="log.path" value="./logFiles" />
+    <property name="log.path" value="E://server//logFiles//ghThreeDataShareTest" />
 
     <!--0. 日志格式和颜色渲染 -->
     <!-- 彩色日志依赖的渲染类 -->