Commit a02d31b7 by 裴大威

Merge branch 'feat-1002370' into 'master'

2370 个人号唤醒fix 不查询小号配置

See merge request rays/pcloud-book!420
parents 882cc361 15de2857
......@@ -1916,7 +1916,7 @@ public class BookKeywordBizImpl implements BookKeywordBiz {
String userId = userWxId;
if (SendMessageTypeEnum.SELF.getCode().equals(code) && !userId.equals(robotId)) {
PcloudRobot byWxId = pcloudRobotDao.getByWxId(robotId);
if (byWxId != null && byWxId.getWakeUp() == 1) {
if (byWxId != null) {
// 向缓存中写入用户与小号最后一次聊天时间
WakeUpInfoDto wakeUpInfoDto = new WakeUpInfoDto();
wakeUpInfoDto.setIp(ip);
......
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