资料关闭完成
This commit is contained in:
@@ -15,4 +15,12 @@ export function deleteFileApi(id: number, fileId: number) {
|
||||
url: `/api/changes/${id}/attachments/${fileId}`,
|
||||
method: 'delete',
|
||||
});
|
||||
}
|
||||
|
||||
// 文件列表
|
||||
export function fileListApi(change_id: number) {
|
||||
return request({
|
||||
url: `/api/changes/${change_id}/attachments`,
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user