【功能新增】IOT: 添加插件管理功能,包括插件列表、详情、状态更新及文件上传功能
This commit is contained in:
@ -47,5 +47,15 @@ export const PluginInfoApi = {
|
||||
// 导出IoT 插件信息 Excel
|
||||
exportPluginInfo: async (params) => {
|
||||
return await request.download({ url: `/iot/plugin-info/export-excel`, params })
|
||||
},
|
||||
|
||||
// 修改IoT 插件状态
|
||||
updatePluginStatus: async (data: any) => {
|
||||
return await request.put({ url: `/iot/plugin-info/update-status`, data })
|
||||
},
|
||||
|
||||
// 上传Jar包
|
||||
uploadPluginFile: async (data: any) => {
|
||||
return await request.post({ url: `/iot/plugin-info/upload-file`, data })
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user