Authored by 杨延青

fix ssr-api route

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