@@ -55,34 +55,34 @@ export enum ProductFunctionAccessModeEnum {
55
55
export const ThinkModelApi = {
56
56
// 查询产品物模型分页
57
57
getThinkModelPage : async ( params : any ) => {
58
- return await request . get ( { url : `/iot/product-thing -model/page` , params } )
58
+ return await request . get ( { url : `/iot/product-think -model/page` , params } )
59
59
} ,
60
60
61
61
// 获得产品物模型
62
62
getThinkModelListByProductId : async ( params : any ) => {
63
63
return await request . get ( {
64
- url : `/iot/product-thing -model/list-by-product-id` ,
64
+ url : `/iot/product-think -model/list-by-product-id` ,
65
65
params
66
66
} )
67
67
} ,
68
68
69
69
// 查询产品物模型详情
70
70
getThinkModel : async ( id : number ) => {
71
- return await request . get ( { url : `/iot/product-thing -model/get?id=` + id } )
71
+ return await request . get ( { url : `/iot/product-think -model/get?id=` + id } )
72
72
} ,
73
73
74
74
// 新增产品物模型
75
75
createThinkModel : async ( data : ThinkModelData ) => {
76
- return await request . post ( { url : `/iot/product-thing -model/create` , data } )
76
+ return await request . post ( { url : `/iot/product-think -model/create` , data } )
77
77
} ,
78
78
79
79
// 修改产品物模型
80
80
updateThinkModel : async ( data : ThinkModelData ) => {
81
- return await request . put ( { url : `/iot/product-thing -model/update` , data } )
81
+ return await request . put ( { url : `/iot/product-think -model/update` , data } )
82
82
} ,
83
83
84
84
// 删除产品物模型
85
85
deleteThinkModel : async ( id : number ) => {
86
- return await request . delete ( { url : `/iot/product-thing -model/delete?id=` + id } )
86
+ return await request . delete ( { url : `/iot/product-think -model/delete?id=` + id } )
87
87
}
88
88
}
0 commit comments