mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-11-04 10:57:10 +08:00 
			
		
		
		
	release: v3.5.0
This commit is contained in:
		@@ -94,7 +94,7 @@ public class GlobalExceptionHandler {
 | 
			
		||||
        } else {
 | 
			
		||||
            return defaultFail;
 | 
			
		||||
        }
 | 
			
		||||
        return R.fail(String.valueOf(HttpStatus.BAD_REQUEST.value()), "请上传小于 %s bytes 的文件".formatted(sizeLimit));
 | 
			
		||||
        return R.fail(String.valueOf(HttpStatus.BAD_REQUEST.value()), "请上传小于 %s MB 的文件".formatted(Long.parseLong(sizeLimit) / 1024 / 1024));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user