category.js 166 B

12345678910
  1. import request from '@/utils/request'
  2. // 获取商品分类
  3. export function getList(data) {
  4. return request({
  5. url: '/api/category',
  6. method: 'get',
  7. data
  8. });
  9. }