From 74e183163711d6cee512e974885b97caf6b86dc4 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期一, 01 二月 2021 18:54:36 +0800
Subject: [PATCH] fix 传参问题

---
 fileStack.go |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/fileStack.go b/fileStack.go
index bb81a88..8b7611f 100644
--- a/fileStack.go
+++ b/fileStack.go
@@ -112,6 +112,10 @@
 		return false, nil
 	}
 
+	if !res.Success {
+		logPrint("FindAllDoingStacks ret false,res:", res)
+		return false,nil
+	}
 	b, err := json.Marshal(res.Data)
 	if err !=nil {
 		logPrint("unmarshal FileStackApi FindAll.result err")

--
Gitblit v1.8.0