feat: callings and callback
This commit is contained in:
@@ -58,9 +58,8 @@ func (s *MfCallingInfo) List(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
// 2. 返回前端
|
||||
c.JSON(200, result.Ok(gin.H{
|
||||
"total": total,
|
||||
"rows": data,
|
||||
"data": data,
|
||||
}))
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ package mf_calling
|
||||
type MfCallingInfo struct {
|
||||
AnsweredTime string `json:"answeredTime" gorm:"column:answered_time"` // 接听时间
|
||||
BLegUuid string `json:"bLegUuid" gorm:"column:b_leg_uuid"` // BLeg UUID
|
||||
CallDuration string `json:"callDuration" gorm:"column:call_duration"` // 通话时长
|
||||
CallDuration int `json:"callDuration" gorm:"column:call_duration"` // 通话时长
|
||||
CallState string `json:"callState" gorm:"column:call_state"` // 通话状态
|
||||
CalleeIdName string `json:"calleeIdName" gorm:"column:callee_id_name"` // 被叫用户名称
|
||||
CalleeIdNumber string `json:"calleeIdNumber" gorm:"column:callee_id_number"` // 被叫用户电话号码
|
||||
|
||||
Reference in New Issue
Block a user