bargain.js 628 B

12345678910111213141516171819202122232425262728
  1. import request from '@/sheep/request';
  2. const BargainApi = {
  3. // 获得砍价记录的概要信息
  4. getBargainRecordSummary: () => {
  5. return request({
  6. url: '/promotion/bargain-record/get-summary',
  7. method: 'GET',
  8. });
  9. },
  10. // 获得砍价活动分页
  11. getBargainActivityPage: () => {
  12. return request({
  13. url: '/promotion/bargain-activity/page',
  14. method: 'GET',
  15. });
  16. },
  17. // 获得砍价活动详情
  18. getBargainActivityDetail(params) {
  19. return request({
  20. url: '/promotion/bargain-activity/get-detail',
  21. method: 'GET',
  22. params,
  23. });
  24. },
  25. };
  26. export default BargainApi;