Authored by hugufei

fix 缓存BUG

... ... @@ -157,6 +157,6 @@ BrandController {
@ResponseBody
public SearchApiResult ufoBrandList(HttpServletRequest request) {
Map<String, String> paramMap = HttpServletRequestUtils.transParamType(request);
return brandListService.ufoBrandList(paramMap);
return brandListService.ufoBrandListForPlateForm(paramMap);
}
}
... ...
... ... @@ -229,8 +229,8 @@ public class BrandListService implements ApplicationEventPublisherAware {
return result;
}
@SearchCacheAble(cacheName = "UFO_BRAND_LIST", cacheInMinute = CacheInMinute.Minute_30, excludeParams = {"page", "order", "uid", "udid"})
public SearchApiResult ufoBrandList(Map<String, String> paramMap) {
@SearchCacheAble(cacheName = "ufoBrandListForPlateForm", cacheInMinute = CacheInMinute.Minute_30, excludeParams = {"page", "order", "uid", "udid"})
public SearchApiResult ufoBrandListForPlateForm(Map<String, String> paramMap) {
try {
// 1)构建参数
SearchParam searchParam = new SearchParam();
... ...