|
@@ -28,7 +28,11 @@ public class AbTestConfigContainer {
|
|
|
timer.schedule(new TimerTask() {
|
|
|
@Override
|
|
|
public void run() {
|
|
|
- initMap(null,"ab_test002");
|
|
|
+ try {
|
|
|
+ initMap(null,"ab_test002");
|
|
|
+ }catch (Exception e){
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
}
|
|
|
}, 0, 1000*30);
|
|
|
}
|
|
@@ -40,7 +44,6 @@ public class AbTestConfigContainer {
|
|
|
request.setTypeValue(typeValue);
|
|
|
CommonResponse<JSONObject> response=longVideoFeign.getAbTestConfig(request);
|
|
|
JSONObject object=response.getData();
|
|
|
- System.out.println(adTestCode);
|
|
|
for(Map.Entry<String,Object> entry:object.getInnerMap().entrySet()){
|
|
|
for(Map<String,Object> map:(List<Map>)entry.getValue()){
|
|
|
if(adTestCode.equals(map.get("abExpCode").toString())){
|