风采增加删除功能
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled

This commit is contained in:
冯辉
2026-07-07 21:20:37 +08:00
parent 8236050546
commit 0e17534c55
5 changed files with 127 additions and 8 deletions

View File

@@ -161,3 +161,10 @@ export async function getShowcaseFileList(userId: number) {
});
}
/** 删除我的风采文件 DELETE /app/file/{id} */
export async function deleteShowcaseFile(id: number) {
return request(`/app/file/${id}`, {
method: 'DELETE',
});
}