| | |
| | | import request from "./index" |
| | | import request from "@/scripts/httpRequest"; |
| | | import qs from "qs"; |
| | | |
| | | // 查询产品中心列表 |
| | |
| | | |
| | | // 获取标签字典 |
| | | // param:type |
| | | export const findDicByType = (params: any) => { |
| | | export const findDicByType = () => { |
| | | return request({ |
| | | url: "/data/api-s/dic/findDicByType", |
| | | url: "/saas/api-s/saasProduct/getProductType?scope=", |
| | | method: "get", |
| | | params: params |
| | | }); |
| | | }; |
| | | |
| | |
| | | */ |
| | | export const findAllCenterProduct = (params: any) => { |
| | | return request({ |
| | | url: "/data/api-s/product/findAllCenterProduct", |
| | | url: "/saas/api-s/saasProduct/findAllCenterProduct", |
| | | method: "post", |
| | | data: params |
| | | }) |
| | |
| | | */ |
| | | export const getReleaseProduct = (params: any) => { |
| | | return request({ |
| | | url: "/data/api-s/product/getAllProductMenu", |
| | | url: "/saas/api-s/saasProduct/getAllProductMenu", |
| | | method: "get", |
| | | params: params |
| | | }) |
| | |
| | | params: params |
| | | }) |
| | | } |
| | | |
| | | //获取轮播图 |
| | | export const getIndexPics = () => { |
| | | return request({ |
| | | url: `/saas/api-i/saasIndex/getIndexPics`, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | | //获取产品详情 |
| | | export const selectProductById = (data: any) => { |
| | | return request({ |
| | | url: `/saas/api-s/saasProduct/selectProductById`, |
| | | method: 'post', |
| | | data, |
| | | }) |
| | | } |
| | | |
| | | //获取推荐算法 |
| | | export const getIndexModelRecommend = (data: any) => { |
| | | return request({ |
| | | url: `/saas/api-i/saasIndex/getIndexModelRecommend`, |
| | | method: 'post', |
| | | data, |
| | | }) |
| | | } |
| | | |
| | | //获取首页模块 |
| | | export const getModelList = () => { |
| | | return request({ |
| | | url: `/saas/api-i/saasIndex/getModelList`, |
| | | method: 'get', |
| | | }) |
| | | } |