调整
This commit is contained in:
parent
2abd834444
commit
cefed27c64
@ -67,6 +67,7 @@ public class CameraPreview {
|
||||
/**
|
||||
* STEP6:调用接口
|
||||
*/
|
||||
try {
|
||||
String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null, null,
|
||||
contentType, header);// post请求application/json类型参数
|
||||
JSONObject jsonResult = JSONObject.parseObject(result);
|
||||
@ -78,5 +79,9 @@ public class CameraPreview {
|
||||
}
|
||||
}
|
||||
return jsonResult;
|
||||
} catch (Exception e) {
|
||||
log.error("调用海康接口错误" + e.getMessage());
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user