Commit 55018dfb authored by strong's avatar strong

Merge commit 'f6e4ca0a' into SANDBOX

parents cb5e4b88 f6e4ca0a
......@@ -20,6 +20,7 @@ exports.clear = function(entcode,userId,callback){
exports.incrTips=function(entcode,userId,callback){
var key = getKey(entcode,userId);
console.log('增加'+key);
if(!redis){
console.log('redis error');
return callback && callback('error');
......@@ -33,6 +34,7 @@ exports.incrTips=function(entcode,userId,callback){
exports.get=function(entcode,userId,callback){
var key = getKey(entcode,userId);
console.log('获取'+key);
if(!redis){
console.log('redis error');
return callback && callback('error');
......
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