Authored by 杨延青

fix ssr-api route

@@ -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;