12345678910 |
- 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', 'get', { ...data })
- export const setLike = (data) => request(goodsUrl + 'right/'+data, 'get', { })
- export const setDislike = (data) => request(goodsUrl + 'left/'+data, 'get', { })
|