mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2026-01-02 03:08:12 +00:00
2 lines
981 B
JavaScript
2 lines
981 B
JavaScript
import{w as t}from"./index-aae906bf.js";function s(e){return t.get("article/article",{params:e})}function c(e){return t.get(`article/article/${e}`)}function a(e){return t.post("article/article",e,{showErrorMessage:!0,showSuccessMessage:!0})}function o(e){return t.put(`article/article/${e.id}`,e,{showErrorMessage:!0,showSuccessMessage:!0})}function u(e){return t.delete(`article/article/${e}`,{showErrorMessage:!0,showSuccessMessage:!0})}function i(e){return t.get("article/category",{params:e})}function g(e){return t.get("article/category/all",e)}function l(e){return t.get(`article/category/${e}`)}function n(e){return t.post("article/category",e,{showErrorMessage:!0,showSuccessMessage:!0})}function f(e){return t.put(`article/category/${e.category_id}`,e,{showErrorMessage:!0,showSuccessMessage:!0})}function d(e){return t.delete(`article/category/${e}`,{showErrorMessage:!0,showSuccessMessage:!0})}export{n as a,l as b,c,d,g as e,o as f,i as g,a as h,s as i,u as j,f as u};
|