From 015c1a5d8b803dbd867f31426dd1391cd51b0ee3 Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期二, 08 三月 2022 14:25:26 +0800 Subject: [PATCH] NewClient add Remote call options --- sysMenuApi.go | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/sysMenuApi.go b/sysMenuApi.go index cb53fd4..b751f56 100644 --- a/sysMenuApi.go +++ b/sysMenuApi.go @@ -11,9 +11,6 @@ func (api SysMenuApi) MenuTree(userId string) (bool,interface{}) { url := DATA_URL_PREFIX + "/menu/tree" netNode := getNetNode(url2Topic(Topic_System_Service, url)) - if netNode == nil { - return false,nil - } client := NewClient(WithNodes(netNode)) query := map[string]string{ "userId": userId, -- Gitblit v1.8.0