import request from '@/utils/request'

export function listFastgptFastgptpushtokentotal(query) {
  return request({
    url: '/qw/qwPushCount/tokenList',
    method: 'get',
    params: query
  })
}

export function getFastgptFastgptpushtokentotal(id) {
  return request({
    url: '/qw/qwPushCount/tokenList/' + id,
    method: 'get'
  })
}

export function addFastgptFastgptpushtokentotal(data) {
  return request({
    url: '/qw/qwPushCount/tokenList',
    method: 'post',
    data: data
  })
}

export function updateFastgptFastgptpushtokentotal(data) {
  return request({
    url: '/qw/qwPushCount/tokenList',
    method: 'put',
    data: data
  })
}

export function delFastgptFastgptpushtokentotal(id) {
  return request({
    url: '/qw/qwPushCount/tokenList/' + id,
    method: 'delete'
  })
}

export function exportFastgptFastgptpushtokentotal(query) {
  return request({
    url: '/qw/qwPushCount/tokenList/export',
    method: 'get',
    params: query
  })
}
