parent
5794aaaf3e
commit
345c4abbdb
|
@ -2,6 +2,7 @@ package com.dispose.dispose.impl;
|
|||
|
||||
import com.dispose.common.DeviceCapacity;
|
||||
import com.dispose.common.ErrorCode;
|
||||
import com.dispose.common.Http;
|
||||
import com.dispose.common.IPAddrType;
|
||||
import com.dispose.dispose.DisposeEntryManager;
|
||||
import com.dispose.dispose.po.DeviceInfo;
|
||||
|
@ -124,8 +125,10 @@ public class HaoHanImpl implements DisposeEntryManager {
|
|||
@Override
|
||||
public boolean getDeviceLinkStatus() {
|
||||
try {
|
||||
// 获取防护对象接口调用成功认为设备心跳正常
|
||||
getAllProtectionObject();
|
||||
String jsonRequest = "{\"cleanTaskId\":\"-1\"}";
|
||||
Http.postJson("http://10.88.77.88:18080/DDoSClean/clean/cleanTaskFlow",
|
||||
null,
|
||||
jsonRequest);
|
||||
return true;
|
||||
} catch (Exception ex) {
|
||||
log.error(ex.getMessage());
|
||||
|
|
Loading…
Reference in New Issue