|
@@ -87,7 +87,7 @@ const pageData = (req, res, next) => { |
|
@@ -87,7 +87,7 @@ const pageData = (req, res, next) => { |
87
|
authorId = req.query.authorId,
|
87
|
authorId = req.query.authorId,
|
88
|
isApp = req.yoho.isApp || false,
|
88
|
isApp = req.yoho.isApp || false,
|
89
|
isTab = req.query.isTab || false,
|
89
|
isTab = req.query.isTab || false,
|
90
|
- showAuthor = true;
|
90
|
+ showAuthor = false;
|
91
|
|
91
|
|
92
|
let uid = req.user.uid,
|
92
|
let uid = req.user.uid,
|
93
|
udid = req.sessionID;
|
93
|
udid = req.sessionID;
|
|
@@ -101,7 +101,7 @@ const pageData = (req, res, next) => { |
|
@@ -101,7 +101,7 @@ const pageData = (req, res, next) => { |
101
|
return;
|
101
|
return;
|
102
|
}
|
102
|
}
|
103
|
if (!authorId && isNaN(authorId)) {
|
103
|
if (!authorId && isNaN(authorId)) {
|
104
|
- showAuthor = false;
|
104
|
+ showAuthor = true;
|
105
|
}
|
105
|
}
|
106
|
return indexModel.getPageData(gender, sortId, uid, udid, page, tag, authorId, isApp, showAuthor, isTab).then(data => {
|
106
|
return indexModel.getPageData(gender, sortId, uid, udid, page, tag, authorId, isApp, showAuthor, isTab).then(data => {
|
107
|
if (data) {
|
107
|
if (data) {
|