Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
xianyu-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
lea guo
2019-09-29 11:38:29 +0800
Commit
d1973804a833f1591d8807be7d4753d5e966e2a6
1 parent
dafc6ae0
移除middleware中uid
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
doraemon/middleware/user.js
doraemon/middleware/user.js
View file @
d197380
...
...
@@ -45,7 +45,7 @@ module.exports = (req, res, next) => {
}
// Todo 删除
req
.
user
.
uid
=
600043484
;
//
req.user.uid = 600043484;
res
.
locals
.
isLogin
=
Boolean
(
req
.
user
.
uid
);
// 用户是否登录
if
(
_
.
get
(
req
,
'user.appSessionType'
)
===
'miniapp'
)
{
...
...
Please
register
or
login
to post a comment