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