鸿宇研学生前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
621 B

  1. // 优惠券相关接口
  2. const api = {
  3. // 优惠券-我的优惠券列表
  4. queryCouponList: {
  5. url: '/coupon/queryCouponList',
  6. method: 'GET',
  7. auth: true,
  8. },
  9. // 优惠券-根据id查看优惠券详情
  10. queryCouponById: {
  11. url: '/coupon/queryCouponById',
  12. method: 'GET',
  13. },
  14. // 优惠券-查看可领取的优惠券
  15. queryFetchCouponList: { // todo: check use in where?
  16. url: '/coupon/queryFetchCouponList',
  17. method: 'GET',
  18. auth: true,
  19. },
  20. // 优惠券-领取优惠券
  21. fetchCoupon: { // todo: check use in where?
  22. url: '/coupon/fetchCoupon',
  23. method: 'POST',
  24. auth: true,
  25. },
  26. }
  27. export default api