This commit is contained in:
张良(004796)
2024-02-05 12:25:57 +08:00
parent df8890abdb
commit 144c5d1335
6 changed files with 140 additions and 0 deletions

View File

@@ -18,6 +18,13 @@ public class UserCallAppVo {
private Integer status;
@Schema(description = "通话状态文字")
private String statusText;
@Schema(description = "通话时长")
private Long callTime = 0L;
@Schema(description = "通话金额")
private Long callAmount = 0L;
@Schema(description = "主播通话收益")
private Long callIncome = 0L;
@Schema(description = "通话对方的用户ID")
private Long userId;
@Schema(description = "通话对方的用户蜜瓜号")

View File

@@ -141,6 +141,9 @@ public class UserCallServiceImpl extends ServiceImpl<UserCallMapper, UserCall> i
}if(status > RoomStatusEnums.STATUS_REFUSE.getCode()){ // 6
vo.setStatus(4);
vo.setStatusText("已接通");
vo.setCallTime(record.getCallTime());
vo.setCallAmount(record.getCallAmount());
vo.setCallIncome(record.getCallIncome());
}
if(record.getBeginTime() != null){
vo.setCreateTime(record.getBeginTime());