Browse Source

修改日志名称和校验参数逻辑

liwh 1 year ago
parent
commit
7c5f1dd318

+ 1 - 1
transform-service/src/main/java/cn/com/taiji/transform/controller/TransformController.java

@@ -115,7 +115,7 @@ public class TransformController {
 
         if(!csbInvokeObject.containsKey("csbMethod")){
 
-            stringBuffer.append("没有找到bjId参数");
+            stringBuffer.append("没有找到接口请求类型csbMethod参数");
             resp_code=2;
 
         }else{

+ 1 - 1
transform-service/src/main/resources/logback.xml

@@ -78,7 +78,7 @@
         <!-- 日志记录器的滚动策略,按日期,按大小记录 -->
         <rollingPolicy
                 class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
-            <fileNamePattern>${log.path}/taiji/log-push-%d{yyyy-MM-dd}.%i.log
+            <fileNamePattern>${log.path}/taiji/log-csbInvoke-%d{yyyy-MM-dd}.%i.log
             </fileNamePattern>
             <timeBasedFileNamingAndTriggeringPolicy
                     class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">