...
|
...
|
@@ -282,10 +282,14 @@ public class UnionServiceImpl implements IUnionService { |
|
|
//改成httpclient方式调用
|
|
|
|
|
|
Pair<Integer, String> pair = HttpUtils.httpGet(url);
|
|
|
|
|
|
log.info("activateUnion call union success url={}, and result={}", url, pair);
|
|
|
if (pair.getLeft() != 200) {
|
|
|
log.warn("callback error with request={}", request);
|
|
|
return new UnionResponse(204, "callback error");
|
|
|
}
|
|
|
} catch (Exception e) {
|
|
|
log.error("callback error with request={}", request, e);
|
|
|
return new UnionResponse(204, "callback error");
|
|
|
}
|
|
|
}
|
|
|
// 调用成功,更新数据库
|
...
|
...
|
|