mirror of
https://github.com/YMFE/yapi.git
synced 2025-02-05 13:29:43 +08:00
fix: 解析动态路由获取接口列表没有传 project_id 导致的 bug
This commit is contained in:
parent
fa06da8cd2
commit
bc07d9eafb
@ -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