import request from '@/lib/client/request';

export async function fetchTags(params: any = {}) {
  const { data } = await request('/api/tag/list', {
    method: 'POST',
    data: { limit: 20, ...params },
  });
  return data;
}
