From 3a778558262ceb4812c32f0712099e9ae45afca0 Mon Sep 17 00:00:00 2001 From: guoapeng Date: Fri, 13 Jun 2025 18:09:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=85=A7=E7=89=87=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/home.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apis/home.ts b/src/apis/home.ts index 96efbd3..53d1336 100644 --- a/src/apis/home.ts +++ b/src/apis/home.ts @@ -15,4 +15,4 @@ export const photoList = (params: System.Page): Promise => http.get('/phot export const takePhoto = (params?: { lightIntensity: number | null }): Promise => http.post('/photo/take', params) export const savePhoto = (params: any): Promise => http.post('/photo/save', params) export const getPhoto = (id: number): Promise => http.get(`/photo/id=${id}`) -export const delPhoto = (ids: string): Promise => http.delete(`/photo/ids=${ids}`) +export const delPhoto = (ids: string): Promise => http.delete(`/photo/${ids}`)