|
|
|
@ -24,7 +24,7 @@ export const RecipePointApi = {
|
|
|
|
return await request.post({ url: `/iot/recipe-point/create`, data })
|
|
|
|
return await request.post({ url: `/iot/recipe-point/create`, data })
|
|
|
|
},
|
|
|
|
},
|
|
|
|
updateRecipePoint: async (data: RecipePointVO) => {
|
|
|
|
updateRecipePoint: async (data: RecipePointVO) => {
|
|
|
|
return await request.post({ url: `/iot/recipe-point/update`, data })
|
|
|
|
return await request.put({ url: `/iot/recipe-point/update`, data })
|
|
|
|
},
|
|
|
|
},
|
|
|
|
deleteRecipePoint: async (id: number) => {
|
|
|
|
deleteRecipePoint: async (id: number) => {
|
|
|
|
return await request.delete({ url: `/iot/recipe-point/delete?id=` + id })
|
|
|
|
return await request.delete({ url: `/iot/recipe-point/delete?id=` + id })
|
|
|
|
|