import{N as t}from"./index-CUnFTKV2.js";var a=(e=>(e[e.Daily=1]="Daily",e[e.Weekly=2]="Weekly",e))(a||{});const n={1:"每日任务",2:"每周任务"},r="/admin/business/task";function o(e){return t({url:r,method:"get",params:e})}function l(e){return t({url:r,method:"post",data:e})}function d(e,s){return t({url:`${r}/${e}`,method:"put",data:s})}function i(e){return t({url:`${r}/${e}`,method:"delete"})}export{n as T,a,l as c,i as d,o as g,d as u};
