f5tts/wwwroot/add.ui
2024-12-25 16:04:39 +08:00

32 lines
684 B
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"widgettype":"Form",
"options":{
"height":"70%",
"title":"向知识库添加文件",
"description":"可以添加的文件类型有:文本文件(.txt数据文件(.csv)excel文件.xlsx, .xls)word文件.doc, .docx), 演示文件(.ppt, .pptx), pdf文件",
"method":"POST",
"submit_url":"{{entire_url('api/add')}}",
"fields":[
{
"name":"file_path",
"uitype":"file",
"required":true
},
{
"name":"userid",
"uitype":"str",
"label":"用户id",
"value":"user1",
"required":true
},
{
"name":"kdbname",
"uitype":"str",
"label":"知识库名",
"required":true,
"value":"testdb"
}
]
}
}