|
@@ -87,7 +87,7 @@ public class TradeSparqController {
|
|
|
"TradeSparq API返回Redis缓存数据,uid = {}, path = {}, request body = {}",
|
|
|
uid,
|
|
|
apiPath,
|
|
|
- requestBody);
|
|
|
+ requestBody);:
|
|
|
return Result.ok(cachedResult);
|
|
|
}
|
|
|
|
|
@@ -128,8 +128,8 @@ public class TradeSparqController {
|
|
|
resourceQuotaService.consumeCustomsDataQuota(uid);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- adwebRedisUtil.set(redisKey, responseEntity.getBody(), 60 * 60);
|
|
|
+
|
|
|
+ adwebRedisUtil.set(redisKey, responseEntity.getBody(), 60 * 60 * 3);
|
|
|
|
|
|
return Result.ok(responseEntity.getBody());
|
|
|
} catch (RestClientResponseException e) {
|