import service from '@/utils/request'

// @Tags PoolAddrTicketDaily
// @Summary 创建PoolAddrTicketDaily
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.PoolAddrTicketDaily true "创建PoolAddrTicketDaily"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /poolAddrTicketDaily/createPoolAddrTicketDaily [post]
export const createPoolAddrTicketDaily = (data) => {
  return service({
    url: '/poolAddrTicketDaily/createPoolAddrTicketDaily',
    method: 'post',
    data
  })
}

// @Tags PoolAddrTicketDaily
// @Summary 删除PoolAddrTicketDaily
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.PoolAddrTicketDaily true "删除PoolAddrTicketDaily"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /poolAddrTicketDaily/deletePoolAddrTicketDaily [delete]
export const deletePoolAddrTicketDaily = (data) => {
  return service({
    url: '/poolAddrTicketDaily/deletePoolAddrTicketDaily',
    method: 'delete',
    data
  })
}

// @Tags PoolAddrTicketDaily
// @Summary 删除PoolAddrTicketDaily
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除PoolAddrTicketDaily"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /poolAddrTicketDaily/deletePoolAddrTicketDaily [delete]
export const deletePoolAddrTicketDailyByIds = (data) => {
  return service({
    url: '/poolAddrTicketDaily/deletePoolAddrTicketDailyByIds',
    method: 'delete',
    data
  })
}

// @Tags PoolAddrTicketDaily
// @Summary 更新PoolAddrTicketDaily
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.PoolAddrTicketDaily true "更新PoolAddrTicketDaily"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /poolAddrTicketDaily/updatePoolAddrTicketDaily [put]
export const updatePoolAddrTicketDaily = (data) => {
  return service({
    url: '/poolAddrTicketDaily/updatePoolAddrTicketDaily',
    method: 'put',
    data
  })
}

// @Tags PoolAddrTicketDaily
// @Summary 用id查询PoolAddrTicketDaily
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.PoolAddrTicketDaily true "用id查询PoolAddrTicketDaily"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /poolAddrTicketDaily/findPoolAddrTicketDaily [get]
export const findPoolAddrTicketDaily = (params) => {
  return service({
    url: '/poolAddrTicketDaily/findPoolAddrTicketDaily',
    method: 'get',
    params
  })
}

// @Tags PoolAddrTicketDaily
// @Summary 分页获取PoolAddrTicketDaily列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取PoolAddrTicketDaily列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /poolAddrTicketDaily/getPoolAddrTicketDailyList [get]
export const getPoolAddrTicketDailyList = (params) => {
  return service({
    url: '/poolAddrTicketDaily/getPoolAddrTicketDailyList',
    method: 'get',
    params
  })
}
