Commit 4a994ce4 authored by 周健威's avatar 周健威

添加接口

parent 1af5eaf5
...@@ -167,7 +167,7 @@ public class LmyxmonitorimageController extends BaseController<LmyxmonitorimageB ...@@ -167,7 +167,7 @@ public class LmyxmonitorimageController extends BaseController<LmyxmonitorimageB
httpRequest.addHeaders(headers); httpRequest.addHeaders(headers);
// String result = httpRequest.execute().body(); // String result = httpRequest.execute().body();
final HttpResponse response = httpRequest.execute(); final HttpResponse response = httpRequest.executeAsync();
if (false == response.isOk()) { if (false == response.isOk()) {
throw new HttpException("Server response error with status code: [{}]", response.getStatus()); throw new HttpException("Server response error with status code: [{}]", response.getStatus());
} }
......
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