import service from '@/utils/request/index'
import type { TagItemDto } from './types'

/**
 * 获取标签 不分页
 */
export const getTagList = (type?: string) => {
  return service.request<TagItemDto[]>({
    url: '/api/cultureTag/listNoPage',
    method: 'POST',
    data: {
      type,
    },
  })
}
