wuweihao hace 3 años
padre
commit
6de6ab28b8

+ 1 - 0
720yun_fd_manage/gis_web/src/main/java/com/gis/web/controller/ExceptionController.java

@@ -52,6 +52,7 @@ public class ExceptionController {
     @ExceptionHandler(Exception.class)
     @ResponseStatus(HttpStatus.BAD_REQUEST)
     public Result globalException(HttpServletRequest request, Throwable ex) {
+        log.error(request.getRequestURI() + ":" + ex.getMessage());
         return Result.failure(getStatus(request).value(), ex.getMessage());
     }
 

+ 1 - 1
720yun_fd_manage/pom.xml

@@ -44,7 +44,7 @@
         <aliyun.core.version>4.0.3</aliyun.core.version>
         <aliyun.dysmsapi.version>1.1.0</aliyun.dysmsapi.version>
         <aliyun.oss.version>2.5.0</aliyun.oss.version>
-        <tk.mybatis.version>2.0.2</tk.mybatis.version>
+        <tk.mybatis.version>2.1.5</tk.mybatis.version>
         <tk.mapper.version>4.0.3</tk.mapper.version>
         <pagehelper.version>1.2.5</pagehelper.version>
         <knife4j.version>2.0.2</knife4j.version>