mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-12 12:26:52 +08:00
feat(intelligent-agent): 上传图片功能
- 在 generatedApi 中添加 uploadImage 函数 - 在 info 组件中实现图片上传逻辑- 在智能代理列表中添加对图片类型的处理和显示
This commit is contained in:
@@ -399,3 +399,10 @@ export function updateMetaDataDoc(data) {
|
||||
data
|
||||
})
|
||||
}
|
||||
export function uploadImage(data) {
|
||||
return request({
|
||||
url: getUrl(`/image/upload`),
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user