feat : 一体机简历上传

This commit is contained in:
2025-12-24 18:18:13 +08:00
parent 0029215bd9
commit 95c22f6d0f

View File

@@ -225,8 +225,7 @@ const handleFileSend = (rows)=>{
type: rows[0].fileSuffix, type: rows[0].fileSuffix,
name: rows[0].originalName, name: rows[0].originalName,
} }
$api.createRequest(`/app/oss/uploadToObs?userId=${userInfo.value.userId}&filePath=${encodeURI(file.url)}`, { }, 'POST',true,).then((res) => {
$api.createRequest('/app/oss/uploadToObs', { userId:userInfo.value.userId, filePath:file.url }, 'POST').then((res) => {
getUserResume(); getUserResume();
$api.msg('上传成功'); $api.msg('上传成功');
playTextDirectly('上传失败') playTextDirectly('上传失败')