Browse Source

fix: 照片删除接口

master
guoapeng 2 months ago
parent
commit
3a77855826
  1. 2
      src/apis/home.ts

2
src/apis/home.ts

@ -15,4 +15,4 @@ export const photoList = (params: System.Page): Promise<null> => http.get('/phot
export const takePhoto = (params?: { lightIntensity: number | null }): Promise<string> => http.post('/photo/take', params) export const takePhoto = (params?: { lightIntensity: number | null }): Promise<string> => http.post('/photo/take', params)
export const savePhoto = (params: any): Promise<null> => http.post('/photo/save', params) export const savePhoto = (params: any): Promise<null> => http.post('/photo/save', params)
export const getPhoto = (id: number): Promise<string> => http.get(`/photo/id=${id}`) export const getPhoto = (id: number): Promise<string> => http.get(`/photo/id=${id}`)
export const delPhoto = (ids: string): Promise<string> => http.delete(`/photo/ids=${ids}`)
export const delPhoto = (ids: string): Promise<string> => http.delete(`/photo/${ids}`)
Loading…
Cancel
Save