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

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

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

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

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

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

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

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

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