Commit 2fae26c3 authored by strong's avatar strong

Merge commit 'dbc9c669' into SANDBOX

parents 1bac68f0 dbc9c669
...@@ -326,8 +326,8 @@ router.post('/thread/:tid/:fid/recommend', function(req, res, next) { ...@@ -326,8 +326,8 @@ router.post('/thread/:tid/:fid/recommend', function(req, res, next) {
var tid = req.params.tid, var tid = req.params.tid,
fid = req.params.fid, fid = req.params.fid,
ent_code = req.session.user.ent_code, ent_code = req.session.user.ent_code,
thread_from_id = req.body.thread_from_id; thread_from_id = req.body.thread_from_id,
mid = req.body.mid; mid = req.body.mid;
if (tid && fid) { if (tid && fid) {
forumThreadService.updateRecommendByThreadId(tid, function(err, thread) { forumThreadService.updateRecommendByThreadId(tid, function(err, thread) {
if (err) { if (err) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment