draw.ts 1.0 KB

1234567891011121314151617181920
  1. import { post } from '@/utils/request';
  2. /**
  3. * 抽奖相关接口集合
  4. * 所有接口均为post请求,host参数已按原逻辑保留
  5. */
  6. export const drawApi = {
  7. /** 中奖轮播图 */
  8. winningRotationList: (params = {}) => post('/web/activity/custom/deposit/raffle/popup/custom/list', params, 'Host80'),
  9. /** 查询余额 */
  10. walletbalance: (params = {}) => post('/custom/get/balance', params, 'Host80'),
  11. /** 查询处理中出金金额 */
  12. pendingWithdrawAmount: (params = {}) => post('/withdraw/amount/pending', params, 'Host04'),
  13. /** 抽奖 */
  14. customActivityRaffleRaffle: (params = {}) => post('/custom/activity/deposit/raffle/custom/raffle', params, 'Host80'),
  15. /** 查询未过期抽奖次数 */
  16. customActivityRaffleRaffleNumber: (params = {}) => post('/custom/activity/deposit/raffle/custom/number/record/search/not/expire', params, 'Host80'),
  17. /** 首页中奖轮播图 */
  18. winningRotationNewsletterList: (params = {}) => post('/web/activity/custom/deposit/raffle/popup/custom/newsletter/list', params, 'Host80'),
  19. };