【功能新增】IoT:产品新增时,productKey 由前端生成;同时增加 icon、picUrl 字段
This commit is contained in:
@ -34,5 +34,10 @@ export const ProductCategoryApi = {
|
||||
// 删除产品分类
|
||||
deleteProductCategory: async (id: number) => {
|
||||
return await request.delete({ url: `/iot/product-category/delete?id=` + id })
|
||||
},
|
||||
|
||||
/** 获取产品分类精简列表 */
|
||||
getSimpleProductCategoryList: () => {
|
||||
return request.get({ url: '/iot/product-category/simple-list' })
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user