Skip to content
New issue

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

后端在upload API中增加group字段 #7

Open
ObservedObserver opened this issue Feb 17, 2019 · 0 comments
Open

后端在upload API中增加group字段 #7

ObservedObserver opened this issue Feb 17, 2019 · 0 comments

Comments

@ObservedObserver
Copy link
Member

用于选择上传至某一文件夹时使用。group字段由于是form-data类型,所以其原本的数据形式可能变为由','连接的字符串。这个取决于后端默认使用解析器,不同的解析器会解析出不同的结果(有的会帮你解析成数组形式,有的则是字符串)。后端需要将该字段统一以数组的形式存储到数据库中。
@BJTUWedon

id: -1
title: project-board-basic-kanban-template.png
content: project-board-basic-kanban-template.png
type: png
group: Folder-1,Folder-2
file: (binary)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant