mirror of
https://gitee.com/wangkang/udf.git
synced 2026-10-22 11:03:43 +00:00
版本回退
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@
|
||||
<project.build.date>${maven.build.timestamp}</project.build.date>
|
||||
<udf-starter.version>1.0</udf-starter.version>
|
||||
<ew.version>1.0</ew.version>
|
||||
<springboot.version>1.5.14.RELEASE</springboot.version>
|
||||
<springboot.version>1.5.1.RELEASE</springboot.version>
|
||||
<springcloud.version>Edgware.SR3</springcloud.version>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<java.version>1.8</java.version>
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@
|
||||
<!-- 公共参数 -->
|
||||
<properties>
|
||||
<udf-starter.version>1.0</udf-starter.version>
|
||||
<springboot.version>1.5.14.RELEASE</springboot.version>
|
||||
<springboot.version>1.5.10.RELEASE</springboot.version>
|
||||
<springcloud.version>Edgware.SR3</springcloud.version>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<java.version>1.8</java.version>
|
||||
|
||||
+1
-1
@@ -69,7 +69,7 @@ public class ExceptionHandle extends ResponseEntityExceptionHandler {
|
||||
* @return ResponseEntity<Object>
|
||||
*/
|
||||
@ExceptionHandler(value = Exception.class)
|
||||
public ResponseEntity<Object> exception(Exception ex, WebRequest request) throws Exception {
|
||||
public ResponseEntity<Object> exception(Exception ex, WebRequest request) {
|
||||
//异常处理
|
||||
ResponseEntity<Object> objectResponseEntity = this.handleException(ex, request);
|
||||
return this.handleExceptionInternal(ex, null, objectResponseEntity.getHeaders(), objectResponseEntity.getStatusCode(), request);
|
||||
|
||||
Reference in New Issue
Block a user