discode.js 501 B

123456789101112131415161718192021222324252627
  1. import request, { postBlob, getBlob, handleImport } from '@/utils/request'
  2. // 获取优惠码列表
  3. export function getList(params) {
  4. return request({
  5. url: '/exchange/code/count/list',
  6. method: 'get',
  7. params
  8. })
  9. }
  10. export function getWebsiteList(params) {
  11. return request({
  12. url: '/websit/list',
  13. method: 'get',
  14. params
  15. })
  16. }
  17. // 获取优惠码详情
  18. export function getDetail(params) {
  19. return request({
  20. url: '/exchange/code/list',
  21. method: 'get',
  22. params
  23. })
  24. }