feat:接口声明(route中的辅料)
This commit is contained in:
parent
1fb2942e44
commit
46372aa7ca
|
|
@ -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: {
|
routepack: {
|
||||||
list: {
|
list: {
|
||||||
name: "列表",
|
name: "列表",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue