【功能新增】IoT:产品新增时,productKey 由前端生成;同时增加 icon、picUrl 字段
This commit is contained in:
1 parent
3a94b8a9cf
commit
dc2dbcbc84
2 files changed
+76
-45
No files matched your search
@@ -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