memberBrowse.js 570 B

123456789101112131415161718192021222324
  1. import { requestApi } from '../util/network'
  2. // 获取浏览历史列表
  3. export const getBrowseList =
  4. (params) =>
  5. requestApi(
  6. '/membergoodsbrowse/browse_list',
  7. 'POST',
  8. {
  9. page: params.page,
  10. per_page: params.per_page
  11. },
  12. 'member'
  13. )
  14. // 清空浏览历史
  15. export const clearallBrowse =
  16. (arrivalnotice_id) =>
  17. requestApi(
  18. '/membergoodsbrowse/browse_clearall',
  19. 'POST',
  20. {
  21. },
  22. 'member'
  23. )