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
92093f2d
Commit
92093f2d
authored
Jul 17, 2015
by
陈家荣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
22
parent
5c3eb63a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
forumThread.js
app/controllers/mobile/forumThread.js
+2
-2
No files found.
app/controllers/mobile/forumThread.js
View file @
92093f2d
...
@@ -103,13 +103,13 @@ router.get('/thread/searchComment', function(req, res, next) {
...
@@ -103,13 +103,13 @@ router.get('/thread/searchComment', function(req, res, next) {
var
pageNo
=
req
.
query
.
pageNo
,
var
pageNo
=
req
.
query
.
pageNo
,
pageSize
=
req
.
query
.
pageSize
,
pageSize
=
req
.
query
.
pageSize
,
from
=
req
.
session
.
mobileForumUser
.
userId
,
from
=
req
.
session
.
mobileForumUser
.
userId
,
status
=
1
,
//
status = 1,
ent_code
=
req
.
session
.
user
.
ent_code
;
ent_code
=
req
.
session
.
user
.
ent_code
;
if
(
pageNo
&&
pageSize
)
{
if
(
pageNo
&&
pageSize
)
{
var
q
=
{
var
q
=
{
ent_code
:
ent_code
,
ent_code
:
ent_code
,
status
:
status
,
//
status: status,
from
:
req
.
session
.
mobileForumUser
.
from
from
:
req
.
session
.
mobileForumUser
.
from
};
};
...
...
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