Commit cdd80c24 authored by 陈家荣's avatar 陈家荣

66

parent 8a25388c
......@@ -1021,12 +1021,9 @@ router.get('/thread/:tid/spreadchain', function(req, res, next) {
// 导出文章评论内容
router.get('/thread/:tid/exportComments', function(req, res, next) {
var tid = req.params.tid || null;
var ent_code = 100056;
if(req.query.ent_code){
ent_code = req.query.ent_code;
}
var ent_code = req.query.ent_code || null;
if(tid){
if(tid && ent_code){
var conditions = {
ent_code: ent_code,
thread: tid
......
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