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

// 查询融合通讯群组分页
export function pagercloudUnitClass (query) {
  return request({
    url: '/rcloud/rcloudUnitClass/page',
    method: 'get',
    params: query
  })
}

// 查询融合通讯群组列表
export function listrcloudUnitClass (query) {
  return request({
    url: '/rcloud/rcloudUnitClass/list',
    method: 'get',
    params: query
  })
}

// 查询融合通讯群组详细
export function getrcloudUnitClass (id) {
  return request({
    url: '/rcloud/rcloudUnitClass/' + id,
    method: 'get'
  })
}

// 新增融合通讯群组
export function addrcloudUnitClass (data) {
  return request({
    url: '/rcloud/rcloudUnitClass/save',
    method: 'post',
    data: data
  })
}

// 修改融合通讯群组
export function updatercloudUnitClass (data) {
  return request({
    url: '/rcloud/rcloudUnitClass/edit',
    method: 'put',
    data: data
  })
}

// 删除融合通讯群组
export function delrcloudUnitClass (id) {
  return request({
    url: '/rcloud/rcloudUnitClass/' + id,
    method: 'delete'
  })
}

// 查询群组包含用户
export function queryGroupAndUserList (query) {
  return request({
    url: '/rcloud/rcloudUnitClass/queryGroupAndUserList',
    method: 'get',
    params: query
  })
}

// 查询群组包含用户
export function configGroupUser (data) {
  return request({
    url: '/rcloud/rcloudUnitUserClass/configGroupUser',
    method: 'post',
    data: data
  })
}