import request from '@/utils/request' // 查询话术模板库话术列表 export function listIvrtemplatescript(query) { return request({ url: '/smartor/ivrtemplatescript/list', method: 'get', params: query }) } // 查询话术模板库话术详细 export function getIvrtemplatescript(templateQuestionID) { return request({ url: '/smartor/ivrtemplatescript/' + templateQuestionID, method: 'get' }) } // 新增话术模板库话术 export function addIvrtemplatescript(data) { return request({ url: '/smartor/ivrtemplatescript', method: 'post', data: data }) } // 修改话术模板库话术 export function updateIvrtemplatescript(data) { return request({ url: '/smartor/ivrtemplatescript/edit', method: 'post', data: data }) } // 删除话术模板库话术 export function delIvrtemplatescript(templateQuestionID) { return request({ url: '/smartor/ivrtemplatescript/remove/' + templateQuestionID, method: 'get' }) }