discovery.js 541 B

12345678910
  1. import { request } from '@/service/ajax'
  2. // 商品模块路由
  3. const goodsUrl = '/admin/discovery/'
  4. // 猜你喜欢
  5. export const getMoments = (data) => request(goodsUrl + 'moments', 'get', { ...data })
  6. export const getDiscoverList = (data) => request(goodsUrl + 'list', 'get', { ...data })
  7. export const getNearbyList = (data) => request(goodsUrl + 'nearby', 'get', { ...data })
  8. export const setLike = (data) => request(goodsUrl + 'right/'+data, 'get', { })
  9. export const setDislike = (data) => request(goodsUrl + 'left/'+data, 'get', { })