|
|
@@ -124,6 +124,20 @@ public class CdrPush implements ApplicationListener<ApplicationReadyEvent> {
|
|
|
if(null != obj && !obj.isEmpty() && obj.containsKey("callBackUrl")){
|
|
|
return obj.getString("callBackUrl");
|
|
|
}
|
|
|
+ }else{
|
|
|
+ try {
|
|
|
+ Thread.sleep(12000L);
|
|
|
+ userBizJson = sysDao.getUserBizJson(uuid);
|
|
|
+ logger.info("测试日志userBizJson22222:{},查询uuid:{}", userBizJson,uuid);
|
|
|
+ if(org.apache.commons.lang3.StringUtils.isNotBlank(userBizJson)){
|
|
|
+ JSONObject obj = JSONObject.parseObject(userBizJson);
|
|
|
+ if(null != obj && !obj.isEmpty() && obj.containsKey("callBackUrl")){
|
|
|
+ return obj.getString("callBackUrl");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ } catch (InterruptedException e) {
|
|
|
+ throw new RuntimeException(e);
|
|
|
+ }
|
|
|
}
|
|
|
return null;
|
|
|
}
|