import request from './request'

// 太保免登接口
export const loginApi = (data) => {
  return request({
    method: 'get',
    url: '/dbcpic-api/app/login/taibao',
    data
  })
}

// 首页
export const indexApi = (data) => {
  return request({
    method: 'get',
    url: '/dbcpic-nj-api/app/activity/index',
    data
  })
}

// 未来展品
export const futureActivityApi = (data) => {
  return request({
    method: 'post',
    url: '/dbcpic-nj-api/app/activity/futureActivity',
    data
  })
}

// 奖品tab列表
export const tabQueryApi = (data) => {
  return request({
    method: 'get',
    url: '/dbcpic-api/app/activity/tabQuery',
    data
  })
}

// 奖品列表
export const prizeRecordsApi = (data) => {
  return request({
    method: 'get',
    url: '/dbcpic-api/app/activity/prizeRecords',
    data
  })
}