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 |   18 ++++++++++++++----
 1 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/src/api/product.ts b/src/api/product.ts
index bf26038..2c5e046 100644
--- a/src/api/product.ts
+++ b/src/api/product.ts
@@ -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,7 @@
 //鑾峰彇棣栭〉妯″潡
 export const getModelList = () => {
     return request({
-        url: `/saas/api-i/saasIndex/getModelList`,
+        url: `/cloud/api-i/saasIndex/getModelList`,
         method: 'get',
     })
 }
@@ -301,4 +301,14 @@
         url: `/saas/api-s/saasProduct/getFreeList`,
         method: 'post',
     })
-}
\ No newline at end of file
+}
+
+//鏍规嵁id鏌ヨ浜у搧
+export const getProductById = (data: any) => {
+    return request({
+        url: `/saas/api-s/saasProduct/getProductById`,
+        method: 'post',
+        data
+    })
+}
+

--
Gitblit v1.8.0