This commit is contained in:
77
2024-03-31 20:03:53 +08:00
parent cdf363b6b0
commit a1bd652e02
6 changed files with 33 additions and 0 deletions

View File

@@ -50,6 +50,8 @@ public class ConsumerManager {
private SystemConfigManager systemConfigManager;
@Autowired
private UserService userService;
@Autowired
private AnchorService anchorService;
public GuardConsumerResp sendGuard(GiveGuardReq query){
GuardConsumerResp resp = guardTotalService.giveGuard(query);
@@ -123,6 +125,11 @@ public class ConsumerManager {
}catch (Exception e){
log.error("RabbitMq 发送失败, 视频分销流程流转失败!",e);
}
try {
anchorService.incsServiceTimeAndCount(room.getRoomId());
}catch (Exception e){
log.error("处理主播自增服务次数和时间失败!",e);
}
rankManager.sendLoveRankMq(consumeLog.getTargetUserId(),consumeLog.getAnchorAmount(),consumeLog.getTraceId());
return resp;
}