Commit aa719db5 authored by wwccw0591's avatar wwccw0591

pc

parent ebd5d3d7
...@@ -334,7 +334,7 @@ class MessageServiceModel extends \Business\AbstractModel ...@@ -334,7 +334,7 @@ class MessageServiceModel extends \Business\AbstractModel
$messageOneDao->updateUnreadField($fromId, $fromType, $toId, $toType); $messageOneDao->updateUnreadField($fromId, $fromType, $toId, $toType);
$isSuccess = $messageHistoryDao->updateByFromIdAndSelfTypeAndToIdAndToType($fromId, $fromType, $toId, $toType); $isSuccess = $messageHistoryDao->updateByFromIdAndSelfTypeAndToIdAndToType($fromId, $fromType, $toId, $toType);
$memberDb0Redis=\Redis\Db0\MemberRedisModel::getInstance(); $memberDb0Redis=\Redis\Db0\MemberRedisModel::getInstance();
$memberDb0Redis->tableHDel($toId,'unread_message_count'); $memberDb0Redis->tableHDel($fromId,'unread_message_count');
return $isSuccess; return $isSuccess;
} }
......
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