import{a as s}from"./redux-vendor-B7uoacJt.js";import{L as n,j as i,h as a}from"./index-Vwb3Bce5.js";const l=s("PROVINCE_GET_EXPORT_STATUS",async(o,{dispatch:t})=>{try{t(n());const{data:r,status:e}=await i.get("poultry-export/");return t(a()),{data:r,status:e}}catch(r){return t(a()),{error:r.response.data.result}}}),y=s("PROVINCE_GET_MARKET_DAILY_LIMITATION",async(o,{dispatch:t})=>{try{t(n());const{data:r,status:e}=await i.get("market-daily-limitation/");return t(a()),{data:r,status:e}}catch(r){return t(a()),{error:r.response.data.result}}}),T=s("PROVINCE_EDIT_MARKET_DAILY_LIMITATION",async(o,{dispatch:t})=>{try{t(n());const{data:r,status:e}=await i.put("market-daily-limitation/0/",o);return t(a()),{data:r,status:e}}catch(r){return t(a()),{error:r.response.data.result}}});export{y as a,T as b,l as p};
