diff --git a/src/api/knowledge/index.ts b/src/api/knowledge/index.ts index 9a55625fe..18b7868bf 100644 --- a/src/api/knowledge/index.ts +++ b/src/api/knowledge/index.ts @@ -26,13 +26,20 @@ export function getZxxyNavis(data: NaviQuery): AxiosPromise { //获取推荐分页 export function getTuijian(data: PageParam): AxiosPromise { return request({ - url: '/javasys/graphicform/zxxy', + url: '/javasys/graphicform/cardlist', method: 'post', data: data, }); -} - - - +} + //获取轮播图数据 + export function getCarousel(data: PageParam): AxiosPromise { + return request({ + url: '/javasys/graphicform/carousel', + method: 'post', + data: data, + + }); + + } diff --git a/src/views/knowledge/knowledge/index.vue b/src/views/knowledge/knowledge/index.vue index bc30ce8b8..2cbe4c70a 100644 --- a/src/views/knowledge/knowledge/index.vue +++ b/src/views/knowledge/knowledge/index.vue @@ -1,7 +1,7 @@