From 95c7f98adb9f538b177eab323af9734a1e5243cb Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期三, 03 七月 2019 15:54:04 +0800
Subject: [PATCH] add updateIsRunningState

---
 syssetApi.go |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/syssetApi.go b/syssetApi.go
index f84efcb..7646598 100644
--- a/syssetApi.go
+++ b/syssetApi.go
@@ -38,7 +38,7 @@
 }
 //淇濆瓨杞閰嶇疆
 func (api SysSetApi) SavePollPeriod(period int) (bool,interface{}){
-	url := BASIC_URL + DATA_URL_PREFIX + "/pollConfig/savePollConfig"
+	url := BASIC_URL + DATA_URL_PREFIX + "/pollConfig/savePollPeriod"
 	client := NewClient()
 	paramBody := make(map[string]interface{},0)
 	paramBody["period"] = period
@@ -57,7 +57,7 @@
 }
 
 func (api SysSetApi) SavePollDelay(delay int) (bool,interface{}){
-	url := BASIC_URL + DATA_URL_PREFIX + "/pollConfig/savePollConfig"
+	url := BASIC_URL + DATA_URL_PREFIX + "/pollConfig/savePollDelay"
 	client := NewClient()
 	paramBody := make(map[string]interface{},0)
 	paramBody["delay"] = delay

--
Gitblit v1.8.0