You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
539 B
TypeScript
24 lines
539 B
TypeScript
import request from '@/config/axios'
|
|
|
|
export interface RecipePointVO {
|
|
recipeId?: number | string
|
|
name?: string
|
|
refer?: string
|
|
dataUnit?: string
|
|
remark?: string
|
|
max?: string
|
|
min?: string
|
|
dataType?: string
|
|
createTime?: string
|
|
}
|
|
|
|
export const RecipePointApi = {
|
|
getRecipePointPage: async (params: any) => {
|
|
return await request.get({ url: `/iot/recipe-point/page`, params })
|
|
},
|
|
getRecipePointList: async (recipeId: number) => {
|
|
return await request.get({ url: `/iot/recipe-point/list?id=`+ recipeId })
|
|
}
|
|
}
|
|
|