ziwen 2 gadi atpakaļ
vecāks
revīzija
78e4cdaadc

+ 0 - 4
controller/voice_broadcast/voice_broadcast.go

@@ -259,10 +259,6 @@ func AddStatistics(c *gin.Context) {
 		return
 	}
 
-	if req.UserId <= 0{
-		response.Fail("参数有误", c)
-	}
-
 	if req.BroadcastId <= 0{
 		response.Fail("参数有误", c)
 	}

+ 0 - 1
models/request/voice_broadcast.go

@@ -35,7 +35,6 @@ type AddBroadcastReq struct {
 //}
 
 type AddBroadcastStatisticsReq struct {
-	UserId      int    `json:"user_id" `
 	Source      int    `json:"source" `
 	BroadcastId int `json:"broadcast_id" `
 }