Commit 04ab8157 authored by 邓军's avatar 邓军

合并冲突

parent 39674ef7
......@@ -253,13 +253,8 @@ exports.getThreadById = function(tid, callback) {
//根据ID更新文章
exports.updateThreadById = function(tid, entity, callback) {
<<<<<<< HEAD
var shareEntity = entity.share;
if (entity.share&&entity.share._id) {
=======
var shareEntity = entity.share || {};
if (entity.share && entity.share._id) {
>>>>>>> e42b46aeb7b4668fbbd8ce83714fe83e240ddb29
entity.share = entity.share._id;
}else{
entity.share = '';
......
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