find all apil
url:get /Api/findAll
[
{
"_id": "5b69160bec4c3437841289b6",
"title": "我不想失去11",
"url": null,
"request": " { 'school_code' : '111111', 'school_name' : '汉东政法大学', 'teacher_idcard' : '0000001', 'teacher_name' : '高育良' } ",
"response": null,
"description": null,
"menu_id": "bf5ff95933394089a336d0856025a2af",
"method": null
}
]
find api by menu_id
url get :Api/findByMenuId
@RequestParam String menuId
[
{
"_id": "5b69160bec4c3437841289b6",
"title": "我不想失去11",
"url": null,
"request": " { 'school_code' : '111111', 'school_name' : '汉东政法大学', 'teacher_idcard' : '0000001', 'teacher_name' : '高育良' } ",
"response": null,
"description": null,
"menu_id": "bf5ff95933394089a336d0856025a2af",
"method": null
}
]
保存 修改 api
url post :/Api/save
request:
{
"_id":"bf5ff95933394089a336d0856025a2af",
"title":"menu1111" ,
"method":"post",
"url":"/hello/name",
"request":"1",
"response":"{'name':'1'}",
"menu_id":2
}
delete api
url delete : /Api/delete
id
网友评论