From f20a554bdb24e9dfde9dc6a69d78595944f61d15 Mon Sep 17 00:00:00 2001 From: mark <mark18340872469@163.com> Date: 星期二, 25 十月 2022 14:53:57 +0800 Subject: [PATCH] 设备管理 样式调整 --- src/api/product.ts | 28 +++++++++++++++++++++++----- 1 files changed, 23 insertions(+), 5 deletions(-) diff --git a/src/api/product.ts b/src/api/product.ts index f4c1e9e..2c5e046 100644 --- a/src/api/product.ts +++ b/src/api/product.ts @@ -128,7 +128,7 @@ //鏍规嵁璁㈠崟id鏌ヨ璁㈠崟璇︽儏 export const getOrderById = (id: string) => { return request({ - url: `/data/api-s/order/show/${id}`, + url: `/saas/api-s/saasOrder/show/${id}`, method: 'get' }) } @@ -264,7 +264,7 @@ //鑾峰彇杞挱鍥� export const getIndexPics = () => { return request({ - url: `/saas/api-i/saasIndex/getIndexPics`, + url: `/cloud/api-i/saasIndex/getIndexPics`, method: 'get', }) } @@ -281,7 +281,7 @@ //鑾峰彇鎺ㄨ崘绠楁硶 export const getIndexModelRecommend = (data: any) => { return request({ - url: `/saas/api-i/saasIndex/getIndexModelRecommend`, + url: `/cloud/api-i/saasIndex/getIndexModelRecommend`, method: 'post', data, }) @@ -290,7 +290,25 @@ //鑾峰彇棣栭〉妯″潡 export const getModelList = () => { return request({ - url: `/saas/api-i/saasIndex/getModelList`, + url: `/cloud/api-i/saasIndex/getModelList`, method: 'get', }) -} \ No newline at end of file +} + +//璇曠敤涓績 +export const getFreeList = () => { + return request({ + url: `/saas/api-s/saasProduct/getFreeList`, + method: 'post', + }) +} + +//鏍规嵁id鏌ヨ浜у搧 +export const getProductById = (data: any) => { + return request({ + url: `/saas/api-s/saasProduct/getProductById`, + method: 'post', + data + }) +} + -- Gitblit v1.8.0