- import request from '@/utils/request'
-
- // 查询语音外呼-呼叫记录分页
- export function pageunitVoiceData(query) {
- return request({
- url: '/business/unitVoiceData/page',
- method: 'get',
- params: query
- })
- }
-
- // 查询语音外呼-呼叫记录列表
- export function listunitVoiceData(query) {
- return request({
- url: '/business/unitVoiceData/list',
- method: 'get',
- params: query
- })
- }
-
- // 查询语音外呼-呼叫记录详细
- export function getunitVoiceData(id) {
- return request({
- url: '/business/unitVoiceData/' + id,
- method: 'get'
- })
- }
-
- // 新增语音外呼-呼叫记录
- export function addunitVoiceData(data) {
- return request({
- url: '/business/unitVoiceData/add',
- method: 'post',
- data: data
- })
- }
-
- // 修改语音外呼-呼叫记录
- export function updateunitVoiceData(data) {
- return request({
- url: '/business/unitVoiceData/edit',
- method: 'put',
- data: data
- })
- }
-
- // 删除语音外呼-呼叫记录
- export function delunitVoiceData(id) {
- return request({
- url: '/business/unitVoiceData/' + id,
- method: 'delete'
- })
- }
-
- export function pageunitVoiceRecord(query) {
- return request({
- url: '/business/unitVoiceRecord/page',
- method: 'get',
- params: query
- })
- }
- // 通话记录列表
- export function unitVoiceRecordList(query) {
- return request({
- url: '/business/unitVoiceRecord/list',
- method: 'get',
- params: query
- })
- }