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
ce5cae4f
Commit
ce5cae4f
authored
Sep 24, 2015
by
陈志良
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '0922_forum_share' into SANDBOX
parents
fce4cda2
910062ea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
forumShare.js
app/controllers/mobile/forumShare.js
+4
-4
No files found.
app/controllers/mobile/forumShare.js
View file @
ce5cae4f
...
@@ -143,7 +143,7 @@ router.get('/:ent_code/share.js', function(req, res, next) {
...
@@ -143,7 +143,7 @@ router.get('/:ent_code/share.js', function(req, res, next) {
}
else
{
}
else
{
link
+=
'topicList'
;
link
+=
'topicList'
;
share_type
=
'topic'
;
share_type
=
'topic'
;
title
=
thread
.
pid
.
nam
e
;
title
=
thread
.
pid
.
titl
e
;
}
}
break
;
break
;
case
3
:
case
3
:
...
@@ -154,7 +154,7 @@ router.get('/:ent_code/share.js', function(req, res, next) {
...
@@ -154,7 +154,7 @@ router.get('/:ent_code/share.js', function(req, res, next) {
}
else
{
}
else
{
link
+=
'photoList'
;
link
+=
'photoList'
;
share_type
=
'photo'
;
share_type
=
'photo'
;
title
=
thread
.
pid
.
nam
e
;
title
=
thread
.
pid
.
titl
e
;
}
}
break
;
break
;
}
}
...
@@ -331,7 +331,7 @@ router.get('/sharev2.js', function(req, res, next) {
...
@@ -331,7 +331,7 @@ router.get('/sharev2.js', function(req, res, next) {
if
(
thread
.
level
===
2
){
if
(
thread
.
level
===
2
){
link
+=
'detail'
;
link
+=
'detail'
;
share_type
=
'article'
;
share_type
=
'article'
;
title
=
thread
.
pid
.
nam
e
;
title
=
thread
.
pid
.
titl
e
;
}
else
if
(
thread
.
level
===
1
){
}
else
if
(
thread
.
level
===
1
){
link
+=
'topic'
;
link
+=
'topic'
;
share_type
=
'topic'
;
share_type
=
'topic'
;
...
@@ -342,7 +342,7 @@ router.get('/sharev2.js', function(req, res, next) {
...
@@ -342,7 +342,7 @@ router.get('/sharev2.js', function(req, res, next) {
if
(
thread
.
level
===
2
){
if
(
thread
.
level
===
2
){
link
+=
'photoDetail'
;
link
+=
'photoDetail'
;
share_type
=
'photo'
;
share_type
=
'photo'
;
title
=
thread
.
pid
.
nam
e
;
title
=
thread
.
pid
.
titl
e
;
}
else
if
(
thread
.
level
===
1
){
}
else
if
(
thread
.
level
===
1
){
link
+=
'photoWall'
;
link
+=
'photoWall'
;
share_type
=
'photo'
;
share_type
=
'photo'
;
...
...
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