Authored by mali

编译

... ... @@ -479,9 +479,12 @@ public class StorageDepositServiceImpl implements IStorageDepositService{
bo.setStorageId(storageId);
JSONObject jsonObject = serviceCaller.asyncCall(args, bo, JSONObject.class).get(5, TimeUnit.SECONDS);
serviceCaller.asyncCall("ufo-gateway.clearDepositOrderCache",
DepositOrderComputeReq.builder().depositCode(depositCode).uid(ownerUid).build(), JSONObject.class); // 清理库存详情接口缓存
try {
serviceCaller.asyncCall("ufo-gateway.clearDepositOrderCache",
DepositOrderComputeReq.builder().depositCode(depositCode).uid(ownerUid).build(), JSONObject.class); // 清理库存详情接口缓存
} catch (Exception e) {
LOGGER.error("ufo-gateway.clearDepositOrderCache find wrong depositCode is {}", depositCode);
}
LOGGER.info("asyncCallClearCache call ufo-gateway storageId is {}, interface is {},result is {}", storageId, args, jsonObject);
return jsonObject;
}
... ...