all.ts 380 B

12345678910111213141516171819202122
  1. import http from '@/utils/http'
  2. /**
  3. * 获取浏览量
  4. */
  5. export const getvisit = () => {
  6. return http.get('show/visit/add')
  7. }
  8. /**
  9. * 获取馆藏列表
  10. */
  11. export const getGoodsList = (data: any) => {
  12. return http.post('show/goods/pageList', data)
  13. }
  14. /**
  15. * 获取馆藏详情
  16. */
  17. export const getGoodsInfo = (id: number) => {
  18. return http.get(`show/goods/detail/${id}`)
  19. }