Skip to content

[咨询]请问快速调试是否支持此种结构参数 #253

@intfoo

Description

@intfoo

文档上没有看到这种,实体中分别有个string和file

public class FileUploadDTO {
    /**
     * 文件类型
     */
    private String type;

    /**
     * 上传的文件
     */
    private MultipartFile file;
}

目前我尝试使用这种传参格式,但是貌似实际没有接收到file:

{
    "fileUploadDTO": {
        "type": "json_entity",
        "content": {
            "type": "",
            "file": {
                "type": "file",
                "content": "C:\\Users\\18740\\Downloads\\vs (73).zip"
            }
        }
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureFeature request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions