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
21c0f268
Commit
21c0f268
authored
Mar 03, 2016
by
陈家荣
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
保存照片墙更新地址
parent
ddf194b6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
forumMessage.js
app/controllers/mobile/forumMessage.js
+1
-0
forumThread.js
app/controllers/mobile/forumThread.js
+2
-1
No files found.
app/controllers/mobile/forumMessage.js
View file @
21c0f268
...
@@ -3,6 +3,7 @@ var express = require('express'),
...
@@ -3,6 +3,7 @@ var express = require('express'),
router
=
express
.
Router
(),
router
=
express
.
Router
(),
returnCode
=
require
(
'../../utils/returnCode'
),
returnCode
=
require
(
'../../utils/returnCode'
),
moment
=
require
(
'moment'
),
moment
=
require
(
'moment'
),
mongoose
=
require
(
'mongoose'
),
_
=
require
(
'lodash'
),
_
=
require
(
'lodash'
),
then
=
require
(
'thenjs'
);
then
=
require
(
'thenjs'
);
...
...
app/controllers/mobile/forumThread.js
View file @
21c0f268
...
@@ -79,7 +79,8 @@ function create(req, callback) {
...
@@ -79,7 +79,8 @@ function create(req, callback) {
$set
:
{
$set
:
{
images
:
entity
.
images
,
images
:
entity
.
images
,
content
:
entity
.
content
,
content
:
entity
.
content
,
tag
:
entity
.
tag
tag
:
entity
.
tag
,
address
:
entity
.
address
}
}
};
};
forumThreadService
.
updateThreadById
(
doc
.
_id
,
update
,
function
(
err
,
updatedDoc
)
{
forumThreadService
.
updateThreadById
(
doc
.
_id
,
update
,
function
(
err
,
updatedDoc
)
{
...
...
strong
@strong
mentioned in commit
f3d4da73
·
Mar 03, 2016
mentioned in commit
f3d4da73
mentioned in commit f3d4da73e4cbdcc701e027478b14eba6d7c16370
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