Просмотр исходного кода

请求进来时增加日志记录

huangws 8 месяцев назад
Родитель
Сommit
b453045f04

+ 2 - 1
GetDataByRESTful/src/main/java/com/jyxt/getdatabyrestful/service/impl/LISServiceImpl.java

@@ -282,7 +282,7 @@ public class LISServiceImpl implements LISService {
     }
 
     public int SaveSample(List<Map<String, Object>> inputList){
-
+        log.info("ready to save:"+String.valueOf(inputList));
         String OperationDate = null;
         String GroupCode = null;
         String OperationName = null;
@@ -353,6 +353,7 @@ public class LISServiceImpl implements LISService {
     }
 
     public int DestorySample(List<Map<String, Object>> inputList){
+        log.info("ready to destory:"+String.valueOf(inputList));
         String OperationDate = null;
         String GroupCode = null;
         String OperationName = null;

+ 1 - 1
GetDataByRESTful/src/main/resources/application.properties

@@ -18,7 +18,7 @@ springdoc.api-docs.description=JYXT API Description
 springdoc.swagger-ui.path=/swagger-ui.html
 # ??Swagger UI????????
 springdoc.swagger-ui.enabled=true
-server.port=8080
+server.port=8090
 #1 or 0,0 means only output logs,1 means insert
 config.insertMode=0
 UrlAddr=http://coolaf.com/tool