Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pisns-forum-api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
scrmGroup
pisns-forum-api
Commits
57a7dcb5
Commit
57a7dcb5
authored
Mar 25, 2016
by
陈家荣
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update 4
parent
f25593b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
forumUser.js
app/controllers/mobile/forumUser.js
+3
-2
No files found.
app/controllers/mobile/forumUser.js
View file @
57a7dcb5
...
...
@@ -344,7 +344,7 @@ router.get('/user/getUserFavorUser', function(req, res, next) {
from
:
d
.
to
.
_id
,
status
:
1
};
forumThreadService
.
getByConditionsSelectyFieldWithOpentions
(
conditions
,
'title'
,
1
,
0
,
'-_id'
,
function
(
err
,
thread
)
{
forumThreadService
.
getByConditionsSelectyFieldWithOpentions
(
conditions
,
'title
content info
'
,
1
,
0
,
'-_id'
,
function
(
err
,
thread
)
{
if
(
err
)
{
console
.
error
(
err
);
cont
(
err
,
null
);
...
...
@@ -363,7 +363,8 @@ router.get('/user/getUserFavorUser', function(req, res, next) {
console
.
error
(
err
);
res
.
json
(
returnCode
.
BUSY
);
}
else
{
res
.
json
(
_
.
assign
(
datas
,
returnCode
.
SUCCESS
));
results
.
items
=
datas
;
res
.
json
(
_
.
assign
(
results
,
returnCode
.
SUCCESS
));
}
});
});
...
...
strong
@strong
mentioned in commit
48049aa9
·
Mar 25, 2016
mentioned in commit
48049aa9
mentioned in commit 48049aa9e7fdbdd9d10c1e26b93d13cd808c6843
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment