| | |
| | | } |
| | | //保存轮询配置 |
| | | 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 |
| | |
| | | } |
| | | |
| | | 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 |