shop.js 598 B

1234567891011121314151617181920212223242526272829303132
  1. import {request} from '@/utils/request.js'
  2. // 首页 分类列表 推荐列表
  3. export function search(data) {
  4. return request({
  5. url: '/zswl-cloud-shop/shopInfo/mainSearch',
  6. data
  7. })
  8. }
  9. // 店铺详情
  10. export function shopDetail(data) {
  11. return request({
  12. url: '/zswl-cloud-shop/shopInfo/detail',
  13. data
  14. })
  15. }
  16. // goodsInfo/appSearch
  17. export function appSearch(data) {
  18. return request({
  19. url: '/zswl-cloud-shop/goodsInfo/appSearch',
  20. data
  21. })
  22. }
  23. // 获取商品分类
  24. export function getSearchTypeData(data) {
  25. return request({
  26. url: '/zswl-cloud-shop/goodsCate/dataColumn'+data,
  27. })
  28. }