Newer
Older
urbanLifeline_YanAn / src / views / RongyunCommunication / rongyunjs / rcloudUnitClass.js
@zhangqy zhangqy on 17 Oct 1 KB 1
import request from '@/utils/request'

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

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

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

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

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

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

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

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