From 2b99047683332624832c1dfcae596e957a710b7d Mon Sep 17 00:00:00 2001
From: ZZJ <10913410+zzj2100@user.noreply.gitee.com>
Date: 星期四, 28 七月 2022 10:20:49 +0800
Subject: [PATCH] bug修复
---
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