From 11f9750f1638f495f780b845b56a533cc9535fa2 Mon Sep 17 00:00:00 2001 From: puhui999 Date: Tue, 17 Dec 2024 16:58:50 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E3=80=91IOT:=20=E4=BA=A7=E5=93=81=E7=89=A9=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=AF=84=E5=AE=A1=E9=97=AE=E9=A2=98=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/iot/thinkmodel/index.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/api/iot/thinkmodel/index.ts b/src/api/iot/thinkmodel/index.ts index e5eac028..f900ce6a 100644 --- a/src/api/iot/thinkmodel/index.ts +++ b/src/api/iot/thinkmodel/index.ts @@ -55,34 +55,34 @@ export enum ProductFunctionAccessModeEnum { export const ThinkModelApi = { // 查询产品物模型分页 getThinkModelPage: async (params: any) => { - return await request.get({ url: `/iot/product-thing-model/page`, params }) + return await request.get({ url: `/iot/product-think-model/page`, params }) }, // 获得产品物模型 getThinkModelListByProductId: async (params: any) => { return await request.get({ - url: `/iot/product-thing-model/list-by-product-id`, + url: `/iot/product-think-model/list-by-product-id`, params }) }, // 查询产品物模型详情 getThinkModel: async (id: number) => { - return await request.get({ url: `/iot/product-thing-model/get?id=` + id }) + return await request.get({ url: `/iot/product-think-model/get?id=` + id }) }, // 新增产品物模型 createThinkModel: async (data: ThinkModelData) => { - return await request.post({ url: `/iot/product-thing-model/create`, data }) + return await request.post({ url: `/iot/product-think-model/create`, data }) }, // 修改产品物模型 updateThinkModel: async (data: ThinkModelData) => { - return await request.put({ url: `/iot/product-thing-model/update`, data }) + return await request.put({ url: `/iot/product-think-model/update`, data }) }, // 删除产品物模型 deleteThinkModel: async (id: number) => { - return await request.delete({ url: `/iot/product-thing-model/delete?id=` + id }) + return await request.delete({ url: `/iot/product-think-model/delete?id=` + id }) } }