123456789101112 |
- import { request } from '@/service/ajax'
- // 商品模块路由
- const goodsUrl = '/admin/discovery/'
- // 猜你喜欢
- export const getMoments = (data) => request(goodsUrl + 'moments', 'get', { ...data })
- export const getDiscoverList = (data) => request(goodsUrl + 'list', 'get', { ...data })
- export const getNearbyList = (data) => request(goodsUrl + 'nearby', 'post', { ...data })
- export const setLike = (data) => request(goodsUrl + 'right/'+data, 'get', { })
- export const setDislike = (data) => request(goodsUrl + 'left/'+data, 'get', { })
- export const setFilter = (data) => request(goodsUrl + 'filter', 'post', { ...data })
- export const getFilter = (data) => request(goodsUrl + 'filter', 'get', { ...data })
|