java110 5 anni fa
parent
commit
c011bd6ad5

+ 7 - 1
service-api/src/main/java/com/java110/api/smo/impl/ApiServiceSMOImpl.java

@@ -38,7 +38,6 @@ import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.http.HttpStatus;
 import org.springframework.http.HttpStatus;
 import org.springframework.http.ResponseEntity;
 import org.springframework.http.ResponseEntity;
-import org.springframework.scheduling.annotation.Async;
 import org.springframework.stereotype.Service;
 import org.springframework.stereotype.Service;
 
 
 import java.util.Date;
 import java.util.Date;
@@ -156,6 +155,13 @@ public class ApiServiceSMOImpl extends LoggerEngine implements IApiServiceSMO {
 
 
         String logServiceCode = MappingCache.getValue(MappingCache.LOG_SERVICE_CODE);
         String logServiceCode = MappingCache.getValue(MappingCache.LOG_SERVICE_CODE);
 
 
+        //日志查询不记录
+        if ("/transactionLog/queryTransactionLog".equals(logServiceCode)
+                || "/transactionLog/queryTransactionLogMessage".equals(logServiceCode)
+        ) {
+            return;
+        }
+
         if (StringUtil.isEmpty(logServiceCode)) {
         if (StringUtil.isEmpty(logServiceCode)) {
             return;
             return;
         }
         }