Commit c8a81d87 authored by 陈志良's avatar 陈志良

Merge branch 'development' of git.wxpai.cn:scrmgroup/pisns-forum-api into development

Conflicts:
	app/controllers/admin/forumThread.js
parents f2a348e7 9dd900c6
...@@ -33,11 +33,11 @@ exports.sendRequest = function(ent_code, mid, action, messageid, integral, exp) ...@@ -33,11 +33,11 @@ exports.sendRequest = function(ent_code, mid, action, messageid, integral, exp)
integral: integral || 0, integral: integral || 0,
exp: exp || 0 exp: exp || 0
}; };
// redis.lpush('adapter-redis-to-ons', JSON.stringify(obj), function(err, reply) { redis.lpush('adapter-redis-to-ons', JSON.stringify(obj), function(err, reply) {
// if (err) { if (err) {
// console.error(err); console.error(err);
// } }
// }); });
}; };
//推送文章记录 //推送文章记录
...@@ -56,11 +56,11 @@ var sendThreadLogRequest = function(open_id, user_agent, origin_ip, method, nick ...@@ -56,11 +56,11 @@ var sendThreadLogRequest = function(open_id, user_agent, origin_ip, method, nick
"source_channel":source_channel, //分享入口渠道(0:官方直接分享;1:微信朋友圈;2:微信好友;3:QQ好友;4:腾讯微博;5:广告组;6:自媒体;) "source_channel":source_channel, //分享入口渠道(0:官方直接分享;1:微信朋友圈;2:微信好友;3:QQ好友;4:腾讯微博;5:广告组;6:自媒体;)
"source_open_id":source_open_id //分享人的open_id "source_open_id":source_open_id //分享人的open_id
}; };
// redis.publish('__pi_front_access_log_old__', JSON.stringify(obj), function(err, reply) { redis.publish('__pi_front_access_log_old__', JSON.stringify(obj), function(err, reply) {
// if (err) { if (err) {
// console.error(err); console.error(err);
// } }
// }); });
}; };
var getClientIP = function(req) { var getClientIP = function(req) {
......
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