From 0f8be5eece9ec8a8a03dc7d4e4b3231e4dc4ebb6 Mon Sep 17 00:00:00 2001 From: mark <mark18340872469@163.com> Date: 星期三, 28 九月 2022 16:19:07 +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