mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-21 11:43:56 +00:00
Co-authored-by: dreamer6680 <1468683855@qq.com>
This commit is contained in:
@@ -43,7 +43,7 @@ type ResponseType = {
|
|||||||
// 文件列表中,单项的文件类型
|
// 文件列表中,单项的文件类型
|
||||||
type FileListItem = {
|
type FileListItem = {
|
||||||
id: string;
|
id: string;
|
||||||
parentId: string | null;
|
parentId: string //也可能为 null 或者 undefined 类型;
|
||||||
name: string;
|
name: string;
|
||||||
type: 'file' | 'folder';
|
type: 'file' | 'folder';
|
||||||
updateTime: Date;
|
updateTime: Date;
|
||||||
@@ -59,7 +59,7 @@ type FileListItem = {
|
|||||||
{{< markdownify >}}
|
{{< markdownify >}}
|
||||||
|
|
||||||
{{% alert icon=" " context="success" %}}
|
{{% alert icon=" " context="success" %}}
|
||||||
- parentId - 父级 id,可选,或者 null。
|
- parentId - 父级 id,可选,或者 null | undefined。
|
||||||
- searchKey - 检索词,可选
|
- searchKey - 检索词,可选
|
||||||
{{% /alert %}}
|
{{% /alert %}}
|
||||||
|
|
||||||
@@ -68,7 +68,7 @@ curl --location --request POST '{{baseURL}}/v1/file/list' \
|
|||||||
--header 'Authorization: Bearer {{authorization}}' \
|
--header 'Authorization: Bearer {{authorization}}' \
|
||||||
--header 'Content-Type: application/json' \
|
--header 'Content-Type: application/json' \
|
||||||
--data-raw '{
|
--data-raw '{
|
||||||
"parentId": null,
|
"parentId": "",
|
||||||
"searchKey": ""
|
"searchKey": ""
|
||||||
}'
|
}'
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user