import service from '@/utils/request'

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

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

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

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

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

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