123
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user