index.js 552 B

1234567891011121314151617181920212223242526272829303132333435
  1. import Request from '../request';
  2. let request = Request.http;
  3. export default {
  4. /**
  5. * 获取所有群组
  6. * @param {*} param
  7. * @returns
  8. */
  9. getClassificationList(param) {
  10. return request({
  11. url: '/system/app/v1/classification/getClassificationList',
  12. method: 'post',
  13. data: param,
  14. header: {
  15. 'Content-Type': 'application/json'
  16. }
  17. })
  18. },
  19. /**
  20. * 获取城市列表
  21. * @param {number} spuId 商品id
  22. */
  23. getCity(param) {
  24. return request({
  25. url: '/system/app/v1/city',
  26. method: 'get',
  27. data: param,
  28. })
  29. },
  30. }