@@ -259,10 +259,6 @@ func AddStatistics(c *gin.Context) {
return
}
- if req.UserId <= 0{
- response.Fail("参数有误", c)
- }
-
if req.BroadcastId <= 0{
response.Fail("参数有误", c)
@@ -35,7 +35,6 @@ type AddBroadcastReq struct {
//}
type AddBroadcastStatisticsReq struct {
- UserId int `json:"user_id" `
Source int `json:"source" `
BroadcastId int `json:"broadcast_id" `