award.js 448 B

123456789101112131415161718192021222324252627
  1. import request from '@/utils/request'
  2. // 佣金明细
  3. export function spreadCommission(data,type) {
  4. return request({
  5. url: '/api/spread/commission/'+type,
  6. method: 'get',
  7. data
  8. });
  9. }
  10. // 修改购物车数量
  11. export function getCartNum(data) {
  12. return request({
  13. url: '/api/cart/num',
  14. method: 'post',
  15. data
  16. });
  17. }
  18. //删除购物车
  19. export function cartDel(data) {
  20. return request({
  21. url: '/api/cart/del',
  22. method: 'post',
  23. data
  24. });
  25. }