|
|
package com.yoho.ufo.service.impl;
|
|
|
|
|
|
import java.util.Collections;
|
|
|
import java.util.HashSet;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
...
|
...
|
@@ -207,7 +208,8 @@ public class SecondhandProductService implements ISecondhandProductService{ |
|
|
|
|
|
private JSONObject asyncCallClearCache(String args, Integer skup) {
|
|
|
LOGGER.info("asyncCallClearCache call ufo-gateway enter skup is {}, interface is {}", skup, args);
|
|
|
JSONObject jsonObject = serviceCaller.asyncCall(args, skup, JSONObject.class).get(5, TimeUnit.SECONDS);
|
|
|
Map<String,Integer> request = Collections.singletonMap("skup", skup);
|
|
|
JSONObject jsonObject = serviceCaller.asyncCall(args, request, JSONObject.class).get(5, TimeUnit.SECONDS);
|
|
|
LOGGER.info("asyncCallClearCache call ufo-gateway skup is {}, interface is {},result is {}", skup, args, jsonObject);
|
|
|
return jsonObject;
|
|
|
}
|
...
|
...
|
|