|
@@ -157,6 +157,7 @@ public class ObjectMatchController extends BaseController {
|
|
|
String res = HttpUtil.post(MULTI_OBJ_MATCH_URL, JSONUtil.toJsonStr(params));
|
|
|
bo.setStatus(TASK_STATUS_PROCESSING);
|
|
|
} catch (Exception e) {
|
|
|
+ log.error("HTTP请求失败",e);
|
|
|
bo.setStatus(TASK_STATUS_FAILED);
|
|
|
bo.setEndTime(new Date());
|
|
|
bo.setCostSecond((bo.getEndTime().getTime() - bo.getStartTime().getTime()) / 1000);
|