sqlite的api,便于内部使用
liuxiaolong
2019-07-03 95c7f98adb9f538b177eab323af9734a1e5243cb
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