mirror of
https://github.com/KarolChang/jm-expense-vue-ts.git
synced 2024-12-26 11:48:35 +00:00
2 lines
355 B
JavaScript
2 lines
355 B
JavaScript
|
import{a as r}from"./index.e0544e65.js";var l={getAll(){return r.get("/record/all")},getOne(e){return r.get(`/record/${e}`)},create(e){return r.post("/record/create",e)},edit(e,t){return r.put(`/record/edit/${e}`,t)},delete(e){return r.delete(`/record/delete/${e}`)},close(e){return r.put("/close",e)},getLogs(){return r.get("/log/all")}};export{l as r};
|