| | |
| | | //根据订单id查询订单详情 |
| | | export const getOrderById = (id: string) => { |
| | | return request({ |
| | | url: `/data/api-s/order/show/${id}`, |
| | | url: `/saas/api-s/saasOrder/show/${id}`, |
| | | method: 'get' |
| | | }) |
| | | } |
| | |
| | | //获取轮播图 |
| | | export const getIndexPics = () => { |
| | | return request({ |
| | | url: `/saas/api-i/saasIndex/getIndexPics`, |
| | | url: `/cloud/api-i/saasIndex/getIndexPics`, |
| | | method: 'get', |
| | | }) |
| | | } |
| | |
| | | //获取推荐算法 |
| | | export const getIndexModelRecommend = (data: any) => { |
| | | return request({ |
| | | url: `/saas/api-i/saasIndex/getIndexModelRecommend`, |
| | | url: `/cloud/api-i/saasIndex/getIndexModelRecommend`, |
| | | method: 'post', |
| | | data, |
| | | }) |
| | |
| | | //获取首页模块 |
| | | 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 |
| | | }) |
| | | } |
| | | |