Commit f64091b1 authored by 赵啸非's avatar 赵啸非

添加好差评

parent 5004eb00
...@@ -36,7 +36,7 @@ public class CaptureServiceImpl implements CaptureService { ...@@ -36,7 +36,7 @@ public class CaptureServiceImpl implements CaptureService {
public Rest<List<File>> getCapture() { public Rest<List<File>> getCapture() {
url = url + "&watiTime=" + timeout; url = url + "&watiTime=" + timeout;
String resp = HttpUtil.get(url, timeout * 1000); String resp = HttpUtil.get(url, timeout * 1000);
if (ObjectUtils.isEmpty(resp)) { if (!ObjectUtils.isEmpty(resp)) {
Rest<List<File>> rest = JSON.parseObject(resp, new TypeReference<Rest<List<File>>>() { Rest<List<File>> rest = JSON.parseObject(resp, new TypeReference<Rest<List<File>>>() {
}); });
if (rest.getCode() == YesNoEnum.YES.getValue()) { if (rest.getCode() == YesNoEnum.YES.getValue()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment