From 11a04ff41abe8e84925249c7118e7b47150fb0ff Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期五, 05 三月 2021 11:22:15 +0800 Subject: [PATCH] 判断数据类型 --- 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