联调中心,根据类型,上传logo调取不同接口,优化了其他代码

This commit is contained in:
fengerli
2025-10-07 10:57:49 +08:00
parent 462656880c
commit 4a4902ab72
10 changed files with 88 additions and 49 deletions

View File

@ -58,8 +58,17 @@ function uploadBoot(formData){
// });
}
function getDeviceInfoById(id){
// 6170上传logo开机画面
function deviceUploadLogo(formData){
return request({
url: '/api/bjq/device/batchUploadLogo',
method: 'post',
data: formData
})
}
function getDeviceInfoById(id){
return request({
url: '/api/device/debug/detail/'+id,
method: 'get'
@ -67,11 +76,14 @@ function getDeviceInfoById(id){
}
export default{
getDevice:getDevice,
uploadFile:uploadFile,
addVideo:addVideo,
updateItem:updateItem,
uploadBoot:uploadBoot,
getDeviceInfoById:getDeviceInfoById
getDeviceInfoById:getDeviceInfoById,
deviceUploadLogo:deviceUploadLogo
}