From 1675117bdb57215eb742d0400c5e78c94769ea4d Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期五, 22 十一月 2019 14:46:21 +0800
Subject: [PATCH] fix show
---
syssetApi.go | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/syssetApi.go b/syssetApi.go
index f111c1c..7fd8669 100644
--- a/syssetApi.go
+++ b/syssetApi.go
@@ -237,11 +237,11 @@
}
-func (api SysSetApi) GetRemoteFullServerInfo() (flag bool,d interface{}){
- url := api.getBasicUrl() + DATA_URL_PREFIX + "/sysset/getFullDevInfo"
+func (api SysSetApi) GetRemoteFullServerInfo(headers map[string]string) (flag bool,d interface{}){
+ url := api.getBasicUrl() + DATA_URL_PREFIX + "/sysset/getDevInfo"
client := NewClient()
- body, err := client.DoGetRequest(url, nil, nil)
+ body, err := client.DoGetRequest(url, nil, headers)
if err != nil {
return false, nil
}
--
Gitblit v1.8.0