|
@@ -24,7 +24,7 @@ public class WuKongSessionServiceImpl implements WuKongSessionService{
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public CommonResult conversatioSync(ConversationSyncReqVo reqVo) {
|
|
public CommonResult conversatioSync(ConversationSyncReqVo reqVo) {
|
|
- String uid = userService.getCurrentLoginUid();
|
|
|
|
|
|
+ String uid = userService.getCurrentLoginUid(reqVo.getEnterpriseId());
|
|
reqVo.setUid(uid);
|
|
reqVo.setUid(uid);
|
|
List<ConversationSyncRespVo> conversationSyncRespVos = wuKongApiService.conversationSync(reqVo);
|
|
List<ConversationSyncRespVo> conversationSyncRespVos = wuKongApiService.conversationSync(reqVo);
|
|
|
|
|
|
@@ -33,14 +33,14 @@ public class WuKongSessionServiceImpl implements WuKongSessionService{
|
|
conversationSyncRespVo.getRecents().forEach(item->uids.add(item.get("from_uid").toString()));
|
|
conversationSyncRespVo.getRecents().forEach(item->uids.add(item.get("from_uid").toString()));
|
|
}
|
|
}
|
|
|
|
|
|
-// CommonResult<List<ImUserInfoVo>> result = userService.getUserByUids(uids);
|
|
|
|
|
|
+ CommonResult<List<ImUserInfoVo>> result = userService.getUserByUids(uids);
|
|
|
|
|
|
return CommonResult.success(wuKongApiService.conversationSync(reqVo));
|
|
return CommonResult.success(wuKongApiService.conversationSync(reqVo));
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public CommonResult conversatioSyncDelete(ConversationsDeleteReqVo reqVo) {
|
|
public CommonResult conversatioSyncDelete(ConversationsDeleteReqVo reqVo) {
|
|
- String uid = userService.getCurrentLoginUid();
|
|
|
|
|
|
+ String uid = userService.getCurrentLoginUid(reqVo.getEnterpriseId());
|
|
reqVo.setUid(uid);
|
|
reqVo.setUid(uid);
|
|
return CommonResult.success(wuKongApiService.conversationsDelete(reqVo));
|
|
return CommonResult.success(wuKongApiService.conversationsDelete(reqVo));
|
|
}
|
|
}
|