mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-09 05:00:30 +08:00
fix: 解析动态路由获取接口列表没有传 project_id 导致的 bug
This commit is contained in:
parent
d7bfef1e28
commit
7ac37a2cbb
@ -85,6 +85,7 @@ class interfaceModel extends baseModel {
|
||||
|
||||
getVar(project_id, method){
|
||||
return this.model.find({
|
||||
project_id: project_id,
|
||||
type: 'var',
|
||||
method: method
|
||||
}).select('_id path').exec()
|
||||
|
Loading…
Reference in New Issue
Block a user