Showing
1 changed file
with
4 additions
and
0 deletions
@@ -17,6 +17,10 @@ module.exports = async(req, res, next) => { | @@ -17,6 +17,10 @@ module.exports = async(req, res, next) => { | ||
17 | return next(); | 17 | return next(); |
18 | } | 18 | } |
19 | const baseParams = {}; | 19 | const baseParams = {}; |
20 | + | ||
21 | + req.route = { | ||
22 | + path: req.path | ||
23 | + }; | ||
20 | 24 | ||
21 | if (!apiInfo.service) { | 25 | if (!apiInfo.service) { |
22 | baseParams.method = apiInfo.api; | 26 | baseParams.method = apiInfo.api; |
-
Please register or login to post a comment