community.js 281 B

1234567
  1. import { request } from '@/service/ajax'
  2. // 商品模块路由
  3. const goodsUrl = '/admin/community/'
  4. // 猜你喜欢
  5. export const setUnLike = (data) => request(goodsUrl + 'unLike/'+data, 'post', { })
  6. export const setLike = (data) => request(goodsUrl + 'like/'+data, 'post', { })