mark
2022-10-25 f20a554bdb24e9dfde9dc6a69d78595944f61d15
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',
    })
}
}
//根据id查询产品
export const getProductById = (data: any) => {
    return request({
        url: `/saas/api-s/saasProduct/getProductById`,
        method: 'post',
        data
    })
}