...
|
...
|
@@ -39,13 +39,14 @@ public class GrassRefreshCacheServiceImpl implements IGrassRefreshCacheService{ |
|
|
public void run() {
|
|
|
String elementId = reqVO.getElementId();
|
|
|
int clearCode = reqVO.getClearCode();
|
|
|
int uid = reqVO.getUid();
|
|
|
try{
|
|
|
String url = apiUrl + "?method=clear.grass.cache&elementId=" + elementId + "&clearCode=" + clearCode;
|
|
|
logger.info("start refreshGrassCache, url is: {}, elementId is {}, clearCode is {}", url, elementId, clearCode);
|
|
|
String url = apiUrl + "?method=clear.grass.cache&elementId=" + elementId + "&clearCode=" + clearCode + "&uid=" + uid;
|
|
|
logger.info("start refreshGrassCache, url is: {}, elementId is {}, clearCode is {},uid is {}", url, elementId, clearCode, uid);
|
|
|
serviceCaller.get("app.clearGrassCache", url, null, String.class, null);
|
|
|
logger.info("success refreshGrassCache elementId is {}, clearCode is {}", elementId, clearCode);
|
|
|
logger.info("success refreshGrassCache elementId is {}, clearCode is {},uid is {}", elementId, clearCode, uid);
|
|
|
}catch (Exception e){
|
|
|
logger.info("fail refreshGrassCache, elementId is {}, clearCode is {}, error is {}", elementId, clearCode, e);
|
|
|
logger.info("fail refreshGrassCache, elementId is {}, clearCode is {},uid is {}, error is {}", elementId, clearCode, uid, e);
|
|
|
}
|
|
|
}
|
|
|
});
|
...
|
...
|
|