Browse Source

fix:告警-微信公众号推送用户查询接口更换

zhongwei
ty 7 months ago
parent
commit
cafd5d6903
  1. 2
      hzims-service/hzims-alarm/src/main/java/com/hnac/hzims/alarm/source/service/impl/MessageServiceImpl.java

2
hzims-service/hzims-alarm/src/main/java/com/hnac/hzims/alarm/source/service/impl/MessageServiceImpl.java

@ -148,7 +148,7 @@ public class MessageServiceImpl implements MessageService {
}
Long dept = station.getData().getCreateDept();
// 获取站点用户
R<List<User>> result = userClient.userListByDeptId(dept);
R<List<User>> result = userClient.userList("200000",dept);
if (!result.isSuccess() || CollectionUtil.isEmpty(result.getData())) {
log.error("微信消息发送失败:用户获取失败 : {}",entity);
return;

Loading…
Cancel
Save