import request from '@/config/axios' // 查询敏感词列表 export const page = async (data: any) => { return await request.post({ url: '/chat/sensitive/page', data: data }) } // 获取敏感词详细信息 export const getInfo = async (id: any) => { return await request.get({ url: '/chat/sensitive/getById?id=' + id, }) } // 创建或者更新敏感词 export const createOrUpdate = async (data: any) => { return await request.post({ url: '/chat/sensitive/createOrUpdate', data: data }) } // 删除敏感词 export const delByIds = async (ids:any) => { return await request.delete({ url: '/chat/sensitive/delByIds?ids=' + ids }) }