From ccb9c97bb53a7eee868fd4232fb027ef5c5d1ea2 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期三, 04 十二月 2019 17:39:38 +0800
Subject: [PATCH] fix fileSetting show

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

diff --git a/controllers/fileAnalysisSetting.go b/controllers/fileAnalysisSetting.go
index 06a79f1..35aedc7 100644
--- a/controllers/fileAnalysisSetting.go
+++ b/controllers/fileAnalysisSetting.go
@@ -26,7 +26,9 @@
 		util.ResponseFormat(c,code.Success, map[string]interface{}{
 			"videoEnable": setting.VideoEnable,
 			"fileDirectory": setting.FileDirectory,
-			"channelCount": setting.ChannelCount,
+			"videoChannelCount": setting.VideoChannelCount,
+			"imgChannelCount": setting.ImgChannelCount,
+			"audioChannelCount": setting.AudioChannelCount,
 		})
 	} else {
 		util.ResponseFormat(c,code.ComError, setting)

--
Gitblit v1.8.0