From 46372aa7ca0ee01e879a43f5997e8bd656b9406a Mon Sep 17 00:00:00 2001 From: shijing Date: Tue, 7 Jan 2025 11:03:25 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=8E=A5=E5=8F=A3=E5=A3=B0=E6=98=8E?= =?UTF-8?q?=EF=BC=88route=E4=B8=AD=E7=9A=84=E8=BE=85=E6=96=99=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/model/mtm.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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: "列表",