Commit f6e4ca0a authored by 刘文胜's avatar 刘文胜

测试

parent ced9f2d9
......@@ -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