Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-community-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
杨延青
2019-07-22 17:31:06 +0800
Commit
4f5fc84c13b8eed124e23b105748678f5f2823ad
1 parent
32ee8fa2
fix ssr-api route
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
doraemon/middleware/ssr-api.js
doraemon/middleware/ssr-api.js
View file @
4f5fc84
...
...
@@ -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
;
...
...
Please
register
or
login
to post a comment