Commit a552f802 by zhouhaibao

[+]新增品牌查询,新增白名单

1 parent 3231e384
......@@ -258,7 +258,7 @@ public class ReportSubscribeController {
List<CarInfoResponse> brandList = BRAND_CACHE.get("brandList");
if (CollectionUtils.isEmpty(brandList)) {
// 缓存未命中,从远程服务获取
brandList = gopCarInfoRemote.getCarBrandList(false).getResult();
brandList = gopCarInfoRemote.getCarBrandList().getResult();
if (CollectionUtils.isNotEmpty(brandList)) {
// 放入缓存,有效期1天
BRAND_CACHE.put("brandList", brandList);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!