feat: 功能优化

This commit is contained in:
2026-01-18 00:34:04 +08:00
parent fe91226727
commit e0cf6092a9
18 changed files with 1826 additions and 1187 deletions

View File

@@ -162,7 +162,21 @@ export const MaterialService = {
return http.get(`${BASE_URL}/preview-url`, {
params: { id: fileId, type }
})
}
},
/**
* 更新文件显示名称
* @param {number} fileId - 文件编号
* @param {string} displayName - 新的显示名称
* @returns {Promise}
*/
updateDisplayName(fileId, displayName) {
return http.post(`${BASE_URL}/update-display-name`, {
fileId,
displayName
})
},
}
/**