diff --git a/src/api/model/mtm.js b/src/api/model/mtm.js index 4956036e..b87e4318 100644 --- a/src/api/model/mtm.js +++ b/src/api/model/mtm.js @@ -405,6 +405,26 @@ export default { }, }, }, + routemat: { + list: { + name: "列表", + req: async function (data) { + return await http.get(`${config.API_URL}/mtm/routemat/`, data); + }, + }, + create: { + name: "创建", + req: async function (data) { + return await http.post(`${config.API_URL}/mtm/routemat/`, data); + }, + }, + delete: { + name: "删除", + req: async function (id) { + return await http.delete(`${config.API_URL}/mtm/routemat/${id}/`); + }, + }, + }, routepack: { list: { name: "列表",