From c9635ae13e45cdb3af46ad45f62ba54463cd774b Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期三, 04 十二月 2019 16:37:57 +0800
Subject: [PATCH] fix argname

---
 syssetApi.go |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/syssetApi.go b/syssetApi.go
index 67c11d9..3739d03 100644
--- a/syssetApi.go
+++ b/syssetApi.go
@@ -137,12 +137,12 @@
 	return res.Success
 }
 
-func (api SysSetApi) UpdateChannelCount(pollChannelCount int, fileChannelCount int) bool{
+func (api SysSetApi) UpdateChannelCount(pollChannelCount int, videoChannelCount int) bool{
 	url := api.getBasicUrl() + DATA_URL_PREFIX + "/pollConfig/updateChannelCount"
 	client := NewClient()
 	paramBody :=make(map[string]interface{},0)
 	paramBody["pollChannelCount"] = pollChannelCount
-	paramBody["fileChannelCount"] = fileChannelCount
+	paramBody["videoChannelCount"] = videoChannelCount
 	body,err := client.DoPostRequest(url,CONTENT_TYPE_JSON, paramBody,nil,nil)
 	if err != nil {
 		return false

--
Gitblit v1.8.0