Newer
Older
DH_Apicture / src / views / RongyunCommunication / rongyunjs / userClass.js
@zhangqy zhangqy 27 days ago 1 KB first commit
import request from '@/utils/request'

// 查询融云-用户分类分页
export function pageuserClass (query) {
  return request({
    url: '/business/userClass/page',
    method: 'get',
    params: query
  })
}

// 查询融云-用户分类列表
export function listuserClass (query) {
  return request({
    url: '/business/userClass/list',
    method: 'get',
    params: query
  })
}

// 查询融云-用户分类详细
export function getuserClass (id) {
  return request({
    url: '/business/userClass/' + id,
    method: 'get'
  })
}

// 新增融云-用户分类
export function adduserClass (data) {
  return request({
    url: '/business/userClass/add',
    method: 'post',
    data: data
  })
}

// 修改融云-用户分类
export function updateuserClass (data) {
  return request({
    url: '/business/userClass/edit',
    method: 'put',
    data: data
  })
}

// 删除融云-用户分类
export function deluserClass (id) {
  return request({
    url: '/business/userClass/' + id,
    method: 'delete'
  })
}


// 融云通话历史记录
export function Historyphonecall (data) {
  return request({
    url: '/business/rongyunHistroyTalk/page',
    method: 'get',
    params: data
  })
}