From a0b5604fcefa0c7900ecc50830b718f77bba8f39 Mon Sep 17 00:00:00 2001 From: heyujie <516346543@qq.com> Date: 星期五, 15 七月 2022 14:43:40 +0800 Subject: [PATCH] add cluster pwd --- src/api/product.ts | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/api/product.ts b/src/api/product.ts index f4c1e9e..d605cad 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,15 @@ //鑾峰彇棣栭〉妯″潡 export const getModelList = () => { return request({ - url: `/saas/api-i/saasIndex/getModelList`, + url: `/cloud/api-i/saasIndex/getModelList`, method: 'get', }) +} + +//璇曠敤涓績 +export const getFreeList = () => { + return request({ + url: `/saas/api-s/saasProduct/getFreeList`, + method: 'post', + }) } \ No newline at end of file -- Gitblit v1.8.0