一、上传文件到服务端 @Consumes(MediaType.MULTIPART_FORM_DATA) public String UploadFile( @ApiParam("文件上传对象") MultipartFormDataInput input){ } 二、调用第三方接口上传