Commit 4e949717 by 朱亚洁

feat:[noen]版权保护关联用户查询

parent beaa18f9
...@@ -455,13 +455,17 @@ public class ReaderConsr { ...@@ -455,13 +455,17 @@ public class ReaderConsr {
} }
public List<Long> getAllUnionUser(Long wechatUserId) { public List<Long> getAllUnionUser(Long wechatUserId) {
List<Long> list = new ArrayList<>();
try { try {
return ResponseHandleUtil.parseList(raysUnionUserService.getAllUnionUser(wechatUserId), Long.class); list = ResponseHandleUtil.parseList(raysUnionUserService.getAllUnionUser(wechatUserId), Long.class);
} catch (Exception e) { } catch (Exception e) {
LOGGER.error("调用raysUnionUserService.getAllUnionUser失败"+e.getMessage(), e); LOGGER.error("调用raysUnionUserService.getAllUnionUser失败"+e.getMessage(), e);
} }
return Arrays.asList(wechatUserId); if (ListUtils.isEmpty(list)) {
list = Arrays.asList(wechatUserId);
}
return list;
} }
} }
......
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