diff --git a/front/src/api/home.js b/front/src/api/home.js index db989ea8..7daee6ff 100644 --- a/front/src/api/home.js +++ b/front/src/api/home.js @@ -74,7 +74,15 @@ export function getHls(params) { // 加入申购车 export function sgcInsert(data) { return request({ - // url: '/resourcecar/insert', + url: '/resourcecar/insert', + method: 'post', + data, + }) +} + +// 西海岸--加入申购车 +export function xhaAddCart(data) { + return request({ url: '/resourcecar/batchInsert', // 西海岸-加入购物车相当于收藏功能 method: 'post', data, diff --git a/front/src/views/home/infrastructurePage.vue b/front/src/views/home/infrastructurePage.vue index 5fa40442..ba77c2e5 100644 --- a/front/src/views/home/infrastructurePage.vue +++ b/front/src/views/home/infrastructurePage.vue @@ -669,6 +669,7 @@ :title="wrjName + '详情'" @ok="wrjVisible = false" > +