import { request } from '@/utils'

export default {
  list: (params = {}) => request.get('/token/tokens', { params }),
  create: (data = {}) => request.post('/token/tokens', data),
  update: (id, data = {}) => request.put(`/token/tokens/${id}`, data),
  remove: (id) => request.delete(`/token/tokens/${id}`),
}
