mark
2022-10-25 f20a554bdb24e9dfde9dc6a69d78595944f61d15
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',
    })
}
}
//试用中心
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
    })
}