Newer
Older
KaiFengPC / src / api / longoPeration / RiverSection.js
@鲁yixuan 鲁yixuan on 14 Aug 795 bytes updata
import request from '@/utils/request';
// 河道信息
export function riverSectionpage(query) {
  return request({
    url: '/business/riverSection/page',
    method: 'get',
    params: query,
  });
}

// 新增
export function riverSectionadd(data) {
  return request({
    url: '/business/riverSection/add',
    method: 'post',
    data: data,
  });
}

// 修改
export function riverSectionedit(data) {
  return request({
    url: '/business/riverSection/edit',
    method: 'put',
    data: data,
  });
}

// 删除
export function riverSectiondelete(id) {
  return request({
    url: '/business/riverSection/' + id,
    method: 'delete',
  });
}

// // 详情接口
export function riverSectionID(id) {
  return request({
    url: '/business/riverSection/' + id,
    method: 'get',
  });
}