Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
ufo-app-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
htoooth
2019-01-15 16:39:19 +0800
Commit
14073ae274c7f421a6f428675df6af92114cd579
1 parent
bafbfc2b
fix needlogin
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
apps/common/create-api-server.js
doraemon/middleware/ssr-api.js
apps/common/create-api-server.js
View file @
14073ae
...
...
@@ -25,7 +25,7 @@ const request = async({url, method, reqParams = {}, context}) => {
},
sessionKey
:
user
.
sessionKey
,
appSessionType
:
user
.
appSessionType
}
:
null
,
}
:
1
,
method
:
apiInfo
.
api
,
});
}
...
...
doraemon/middleware/ssr-api.js
View file @
14073ae
...
...
@@ -25,7 +25,7 @@ module.exports = async(req, res, next) => {
},
sessionKey
:
req
.
user
.
sessionKey
,
appSessionType
:
req
.
user
.
appSessionType
}
:
null
,
}
:
1
,
method
:
apiInfo
.
api
};
}
...
...
Please
register
or
login
to post a comment