mirror of
https://github.com/YMFE/yapi.git
synced 2025-04-06 15:00:26 +08:00
feat: 优化 restful api 动态路由权重匹配算法,匹配更加精确
This commit is contained in:
parent
c813e9cb4f
commit
6fdee44762
@ -1,3 +1,9 @@
|
||||
### v1.5.1
|
||||
|
||||
* 优化 restful api 动态路由权重匹配算法,匹配更加精确
|
||||
* openapi 新增 `/api/interface/list_cat`,获取某个分类下所有接口
|
||||
* 新增了 rap数据导入到 yapi 插件 [rap2yapi](https://github.com/wxxcarl/yapi-plugin-import-rap)
|
||||
|
||||
### v1.5.0
|
||||
|
||||
* 优化开放 api功能,现在 token 带有用户信息了
|
||||
|
@ -47,7 +47,8 @@ class baseController {
|
||||
'/api/interface/list',
|
||||
'/api/interface/list_menu',
|
||||
'/api/interface/add_cat',
|
||||
'/api/interface/getCatMenu'
|
||||
'/api/interface/getCatMenu',
|
||||
'/api/interface/list_cat'
|
||||
];
|
||||
|
||||
let params = Object.assign({}, ctx.query, ctx.request.body);
|
||||
|
Loading…
x
Reference in New Issue
Block a user