import request from '@/lib/request';

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