Lan committed 2025-11-24 19:25:08 +08:00
1 parent 2e52ed61bd
commit d789f68135
2 files changed
+1 -46

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ export class FileService {
}
static async updateFile(data: FileEditForm): Promise<ApiResponse> {
return api.post('/admin/file/update', data)
return api.patch('/admin/file/update', data)
}
static async deleteAdminFile(id: number): Promise<ApiResponse> {