text: import fetch from 'utils/fetch';
  
  export function page(query) {
  return fetch({
  url: '/api/cms/page/page',
  method: 'get',
  params: query
  });
  }
  
  export function addObj(obj) {
  return fetch({
  url: '/api/cms/page',
  method: 'post',
  data: obj
  });
  }
  
  export function getObj(id) {
  return fetch({
  url: '/api/cms/page/' + id,
  method: 'get'
  })
  }
  
  export function delObj(id) {
  return fetch({
  url: '/api/cms/page/' + id,
  method: 'delete'
  })
  }
  
  export function putObj(id, obj) {
  return fetch({
  url: '/api/cms/page/' + id,
  method: 'put',
  data: obj
  })
  }
  