- import request from '@/utils/request'
-
- // 查询语音热词管理分页
- export function pagevoiceUnitHotWords (query) {
- return request({
- url: '/business/voiceUnitHotWords/page',
- method: 'get',
- params: query
- })
- }
-
- // 查询语音热词管理列表
- export function listvoiceUnitHotWords (query) {
- return request({
- url: '/business/voiceUnitHotWords/list',
- method: 'get',
- params: query
- })
- }
-
- // 查询语音热词管理详细
- export function getvoiceUnitHotWords (id) {
- return request({
- url: '/business/voiceUnitHotWords/' + id,
- method: 'get'
- })
- }
-
- // 新增语音热词管理
- export function addvoiceUnitHotWords (data) {
- return request({
- url: '/business/voiceUnitHotWords/add',
- method: 'post',
- data: data
- })
- }
-
- // 修改语音热词管理
- export function updatevoiceUnitHotWords (data) {
- return request({
- url: '/business/voiceUnitHotWords/edit',
- method: 'put',
- data: data
- })
- }
-
- // 删除语音热词管理
- export function delvoiceUnitHotWords (id) {
- return request({
- url: '/business/voiceUnitHotWords/' + id,
- method: 'delete'
- })
- }