From f8be6c223b1ca5c35cde51d2f874793f78e2daa9 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期三, 12 八月 2020 11:35:00 +0800
Subject: [PATCH] DoPostRequest set 60 sec timeout

---
 controllers/pollConfig.go |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/controllers/pollConfig.go b/controllers/pollConfig.go
index 840b22c..b676b8f 100644
--- a/controllers/pollConfig.go
+++ b/controllers/pollConfig.go
@@ -93,7 +93,7 @@
 }
 
 type PollEnableVo struct {
-	Enable bool `json:"enable" binding:"required"`
+	Enable bool `json:"enable"`
 }
 
 // @Security ApiKeyAuth
@@ -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