mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	GlobalExceptionHandler.handleServiceException 多余的类型转换。
Signed-off-by: scmiot <scmiot@qq.com>
This commit is contained in:
		@@ -105,7 +105,7 @@ public class GlobalExceptionHandler {
 | 
			
		||||
    public R<Void> handleServiceException(ServiceException e, HttpServletRequest request) {
 | 
			
		||||
        log.error(e.getMessage(), e);
 | 
			
		||||
        Integer code = e.getCode();
 | 
			
		||||
        return ObjectUtil.isNotNull(code) ? R.fail(code.intValue(), e.getMessage()) : R.fail(e.getMessage());
 | 
			
		||||
        return ObjectUtil.isNotNull(code) ? R.fail(code, e.getMessage()) : R.fail(e.getMessage());
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user