Authored by 杨延青

fix ssr-api route

... ... @@ -17,6 +17,10 @@ module.exports = async(req, res, next) => {
return next();
}
const baseParams = {};
req.route = {
path: req.path
};
if (!apiInfo.service) {
baseParams.method = apiInfo.api;
... ...