记得上下班打卡 | git大法好,push需谨慎

Commit 85d65c0a authored by 胡佳晨's avatar 胡佳晨

划卡做任务 注释

parent 6c59309e
...@@ -158,16 +158,7 @@ public class ChimeUserServiceImpl implements IChimeUserService { ...@@ -158,16 +158,7 @@ public class ChimeUserServiceImpl implements IChimeUserService {
queueUtils.sendMsgByRedis(MQConst.ChimeQueue.USER_OPERATION_LIKE.getKey(), JsonUtils.toJson(chimeUserOperLogVo)); queueUtils.sendMsgByRedis(MQConst.ChimeQueue.USER_OPERATION_LIKE.getKey(), JsonUtils.toJson(chimeUserOperLogVo));
chimeUserOperLogVo.setOpType(ChimeConstant.LOG_USER_OPERATION_LIKE_MYSELF_CLICK); chimeUserOperLogVo.setOpType(ChimeConstant.LOG_USER_OPERATION_LIKE_MYSELF_CLICK);
queueUtils.sendMsgByRedis(MQConst.ChimeQueue.USER_OPERATION_LIKE.getKey(), JsonUtils.toJson(chimeUserOperLogVo)); queueUtils.sendMsgByRedis(MQConst.ChimeQueue.USER_OPERATION_LIKE.getKey(), JsonUtils.toJson(chimeUserOperLogVo));
/* Integer i; // doTaskUtils.userAddNum(currentUserId);
//判断redis是否有喜欢的记录
if (!redisUtil.hasKey(ChimeConstant.REDIS_USER_LIKE_NUM+currentUserId)){
i=1;
}else {
i = (Integer) redisUtil.get(ChimeConstant.REDIS_USER_LIKE_NUM+currentUserId)+1;
}
redisUtil.set(ChimeConstant.REDIS_USER_LIKE_NUM + currentUserId,i);*/
doTaskUtils.userAddNum(currentUserId);
return true; return true;
} }
...@@ -182,8 +173,7 @@ public class ChimeUserServiceImpl implements IChimeUserService { ...@@ -182,8 +173,7 @@ public class ChimeUserServiceImpl implements IChimeUserService {
queueUtils.sendMsgByRedis(MQConst.ChimeQueue.USER_OPERATION_DISLIKE.getKey(), JsonUtils.toJson(chimeUserOperLogVo)); queueUtils.sendMsgByRedis(MQConst.ChimeQueue.USER_OPERATION_DISLIKE.getKey(), JsonUtils.toJson(chimeUserOperLogVo));
chimeUserOperLogVo.setOpType(ChimeConstant.LOG_USER_OPERATION_DISLIKE_MYSELF_CLICK); chimeUserOperLogVo.setOpType(ChimeConstant.LOG_USER_OPERATION_DISLIKE_MYSELF_CLICK);
queueUtils.sendMsgByRedis(MQConst.ChimeQueue.USER_OPERATION_DISLIKE.getKey(), JsonUtils.toJson(chimeUserOperLogVo)); queueUtils.sendMsgByRedis(MQConst.ChimeQueue.USER_OPERATION_DISLIKE.getKey(), JsonUtils.toJson(chimeUserOperLogVo));
// doTaskUtils.userAddNum(currentUserId);
doTaskUtils.userAddNum(currentUserId);
return true; return true;
} }
......
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