diff --git a/src/api/model/ecm.js b/src/api/model/ecm.js index ca6c31f2..d1615d49 100644 --- a/src/api/model/ecm.js +++ b/src/api/model/ecm.js @@ -66,6 +66,22 @@ export default { ); } }, + item: { + name: "获取", + req: async function(id){ + return await http.get( + `${config.API_URL}/ecm/event/${id}/` + ); + } + }, + handle: { + name: "创建", + req: async function(id,data){ + return await http.post( + `${config.API_URL}/ecm/event/${id}/handle/`, + data); + } + }, } , myevent:{ @@ -130,4 +146,4 @@ export default { } -} \ No newline at end of file +}