We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当需要传递多个文件时,无法应用list, 应用list进行接口调用,会报出空指针错误
The text was updated successfully, but these errors were encountered:
提供一下demo
Sorry, something went wrong.
client代码如下: @Post( url = "url", headers = { "", "" } ) @BodyType("multipart/data-form") BaseRespObj<EstateAllOrderData> estateOrderNo( @Body("types") String types, @Body("persons") String persons, @DataFile("files") List<MultipartFile> files); 报错:
@Post( url = "url", headers = { "", "" } ) @BodyType("multipart/data-form") BaseRespObj<EstateAllOrderData> estateOrderNo( @Body("types") String types, @Body("persons") String persons, @DataFile("files") List<MultipartFile> files);
将@DataFile("files") List<MultipartFile> files改为@DataFile("files") MultipartFile files正常执行
@DataFile("files") List<MultipartFile> files
@DataFile("files") MultipartFile files
No branches or pull requests
当需要传递多个文件时,无法应用list, 应用list进行接口调用,会报出空指针错误
The text was updated successfully, but these errors were encountered: