goods.js 204 B

123456
  1. import { request } from '../service/ajax.js'
  2. // 商品模块路由
  3. const goodsUrl = '/api/goods/'
  4. // 猜你喜欢
  5. export const likeGoods = (data) => request(goodsUrl + 'like_goods', 'post', { ...data })