|
@ -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}`) |