import{a as n}from"./redux-vendor-B7uoacJt.js";import{L as o,j as u,h as a}from"./index-Cr86_nOs.js";const _=n("PROVINCE_GET_MAX_BAR_STATUS",async(s,{dispatch:t})=>{try{t(o());const{data:r,status:e}=await u.get("bar-limitation/");return t(a()),{data:r,status:e}}catch(r){return t(a()),{error:r.response.data.result}}}),S=n("PROVINCE_EDIT_MAX_BAR_STATUS",async(s,{dispatch:t})=>{try{t(o());const{data:r,status:e}=await u.put("bar-limitation/0/",s);return t(a()),{data:r,status:e}}catch(r){return t(a()),{error:r.response.data.result}}}),y=n("PROVINCE_GET_SLAUGHTER_BUYING_PRICE_STATUS",async(s,{dispatch:t})=>{try{t(o());const{data:r,status:e}=await u.get("kill-house-price-permission/");return t(a()),{data:r,status:e}}catch(r){return t(a()),{error:r.response.data.result}}}),T=n("PROVINCE_EDIT_SLAUGHTER_BUYING_PRICE_STATUS",async(s,{dispatch:t})=>{try{t(o());const{data:r,status:e}=await u.put("kill-house-price-permission/0/",s);return t(a()),{data:r,status:e}}catch(r){return t(a()),{error:r.response.data.result}}});export{_ as a,T as b,y as c,S as p};
