Exemple #1
0
 @Action(value = "searchCatalog")
 public String searchCatalog() throws Exception {
   if (searchFindEntity == null) {
     searchFindEntity = new SearchFindEntity();
   }
   searchFindEntity.setRows(30);
   pager = searchService.searchByKeyword(searchFindEntity);
   psfsList = shopcartService.getPsfsList();
   return "productList";
 }
Exemple #2
0
 @Action(value = "init")
 public String init() throws Exception {
   psfsList = shopcartService.getPsfsList();
   return "index"; // 指向真正的首页(带广告图片),而不是又跳转到产品列表页面   //searchCatalog();
 }