升级spring-cloud到H版本

This commit is contained in:
zlt2000
2020-07-11 18:21:54 +08:00
parent 39cbcd2a5e
commit c3584a31b1
4 changed files with 10 additions and 10 deletions
@@ -49,8 +49,8 @@ public class JsonErrorWebExceptionHandler extends DefaultErrorWebExceptionHandle
* @param errorAttributes
*/
@Override
protected HttpStatus getHttpStatus(Map<String, Object> errorAttributes) {
return HttpStatus.INTERNAL_SERVER_ERROR;
protected int getHttpStatus(Map<String, Object> errorAttributes) {
return HttpStatus.INTERNAL_SERVER_ERROR.value();
}
/**