import{s as e}from"./index-a6ee13d3.js";function i(){return{getArticleList:t=>e({url:"/admin/article/list",method:"get",params:t}),addArticle:t=>e({url:"/admin/article/save",method:"post",data:t,headers:{"Content-Type":"application/x-www-form-urlencoded"}}),getArticle:t=>e({url:"/admin/article/get/"+t,method:"get"}),updateArticle:(t,r)=>e({url:"/admin/article/update/"+t,method:"post",params:r}),delArticle:t=>e({url:"/admin/article/delete/"+t,method:"post"}),addArticleCategory:t=>e({url:"/admin/article/category/save",method:"post",params:t}),getArticleCategoryList:()=>e({url:"/admin/article/category/list",method:"get"}),getArticleCategory:t=>e({url:"/admin/article/category/get/"+t,method:"get"}),delArticleCategory:t=>e({url:"/admin/article/category/delete/"+t,method:"post"}),addArticleTag:t=>e({url:"/admin/article/tag/save",method:"post",params:t}),getArticleTagList(){return e({url:"/admin/article/tag/list",method:"get"})},getArticleTag(t){return e({url:"/admin/article/tag/get/"+t,method:"get"})},delArticleTag(t){return e({url:"/admin/article/tag/delete/"+t,method:"post"})},getArticleCommentList(t){return e({url:"/admin/article/comment/list",method:"get",params:t})},updateArticleComment(t){return e({url:"/admin/article/comment/save",method:"post",params:t})},delArticleComment(t){return e({url:"/admin/article/comment/delete/"+t,method:"post"})}}}export{i as A};
