import {
  getAction,
  deleteAction,
  putAction,
  postAction
} from '@/api/manageForWarn'
const baseUrl = '/warningThreshold/pumpingWarn'
const page = (params) => getAction(baseUrl + '/page', params)
const saveOrUpd = (data) => postAction(baseUrl + '/saveOrUpd', data)
export default {
  page,
  saveOrUpd
}