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
235aa871
Commit
235aa871
authored
Apr 17, 2015
by
陈志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c7ca91ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
forumThread.js
app/controllers/mobile/forumThread.js
+5
-7
No files found.
app/controllers/mobile/forumThread.js
View file @
235aa871
...
@@ -111,16 +111,14 @@ router.get('/thread/:tid/get', function(req, res, next) {
...
@@ -111,16 +111,14 @@ router.get('/thread/:tid/get', function(req, res, next) {
//文章类型 1、文章 2、话题 3、照片墙
//文章类型 1、文章 2、话题 3、照片墙
var
info_id
=
thread
.
info
.
_id
,
var
info_id
=
thread
.
info
.
_id
,
pid
=
thread
.
pid
;
pid
=
thread
.
pid
;
if
(
thread
.
type
==
1
)
{
if
(
thread
.
type
==
1
&&
thread
.
level
==
1
)
{
httpService
.
createLog
(
req
,
info_id
,
3
,
1
,
tid
);
httpService
.
createLog
(
req
,
info_id
,
3
,
1
,
tid
);
}
else
if
(
thread
.
type
==
2
&&
thread
.
level
==
1
)
{
}
else
if
(
thread
.
type
==
1
&&
thread
.
level
==
2
){
httpService
.
createLog
(
req
,
info_id
,
3
,
2
,
tid
);
}
else
if
(
thread
.
type
==
2
&&
thread
.
level
==
2
)
{
httpService
.
createLog
(
req
,
info_id
,
3
,
4
,
tid
,
pid
);
httpService
.
createLog
(
req
,
info_id
,
3
,
4
,
tid
,
pid
);
}
else
if
(
thread
.
type
==
3
&&
thread
.
level
==
1
)
{
}
else
if
(
thread
.
type
==
2
&&
thread
.
level
==
1
)
{
httpService
.
createLog
(
req
,
info_id
,
3
,
2
,
tid
);
}
else
if
(
thread
.
type
==
3
&&
thread
.
level
==
1
)
{
httpService
.
createLog
(
req
,
info_id
,
3
,
3
,
tid
);
httpService
.
createLog
(
req
,
info_id
,
3
,
3
,
tid
);
}
else
if
(
thread
.
type
==
3
&&
thread
.
level
==
2
){
httpService
.
createLog
(
req
,
info_id
,
3
,
4
,
tid
,
pid
);
}
}
...
...
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