auction.js 489 B

1234567891011121314151617181920
  1. import axios from '../httpDice'
  2. export default {
  3. // 获取本期奖池信息
  4. getAuctionInfo (params) {
  5. return axios.get('Auction/prizePool', { params })
  6. },
  7. // 领取奖励
  8. takeReward (params) {
  9. return axios.get('Auction/takeReward', { params })
  10. },
  11. // 上报交易信息
  12. sendTrx (params) {
  13. return axios.post('Auction/auctionTrx ', params)
  14. },
  15. // gt弹窗已读标记
  16. toggleReadTip (params) {
  17. return axios.get('Auction/toggleReadTip', { params })
  18. }
  19. }