import request from '@/utils/request' // 查询信义大模型问答记录列表 export function listRecord(query) { return request({ url: '/business/chatRecord/list', method: 'get', params: query }) } // 查询信义大模型问答记录详细 export function getRecord(id) { return request({ url: '/business/record/' + id, method: 'get' }) } // 新增信义大模型问答记录 export function addRecord(data) { return request({ url: '/business/chatRecord', method: 'post', data: data }) } // 修改信义大模型问答记录 export function updateRecord(data) { return request({ url: '/business/chatRecord', method: 'put', data: data }) } // 删除信义大模型问答记录 export function delRecord(id) { return request({ url: '/business/chatRecord/' + id, method: 'delete' }) }