From 34d7691ab827714fbbc23fb31ba0a00ac90c5191 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期三, 04 十二月 2019 20:03:49 +0800 Subject: [PATCH] rm required --- controllers/pollConfig.go | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/pollConfig.go b/controllers/pollConfig.go index 840b22c..fd27211 100644 --- a/controllers/pollConfig.go +++ b/controllers/pollConfig.go @@ -121,8 +121,8 @@ } type ChannelCountSet struct { - PollChannelCount int `json:"pollChannelCount" binding:"required"` - VideoChannelCount int `json:"videoChannelCount" binding:"required"` + PollChannelCount int `json:"pollChannelCount"` + VideoChannelCount int `json:"videoChannelCount"` } // @Security ApiKeyAuth -- Gitblit v1.8.0