| | |
| | | import com.yeshi.fanli.service.inter.config.CustomerContentService;
|
| | | import com.yeshi.fanli.service.inter.config.SuperHotSearchService;
|
| | | import com.yeshi.fanli.service.inter.config.SystemClientParamsService;
|
| | | import com.yeshi.fanli.service.inter.hongbao.HongBaoManageService;
|
| | | import com.yeshi.fanli.service.inter.lable.QualityGoodsService;
|
| | | import com.yeshi.fanli.service.inter.order.config.HongBaoManageService;
|
| | | import com.yeshi.fanli.service.inter.user.HistorySearchService;
|
| | | import com.yeshi.fanli.util.StringUtil;
|
| | | import com.yeshi.fanli.util.taobao.TaoBaoUtil;
|
| | |
| | | sf.setStartTkRate(Integer.parseInt(rate));
|
| | | } catch (Exception e) {
|
| | | }
|
| | |
|
| | | if (!StringUtil.isNullOrEmpty(order))
|
| | | if (Integer.parseInt(order) == 0)
|
| | | sf.setSort(TaoBaoUtil.SORT_SALE_HIGH_TO_LOW);
|
| | | else if (Integer.parseInt(order) == 2)
|
| | | sf.setSort(TaoBaoUtil.SORT_PRICE_LOW_TO_HIGH);
|
| | | else if (Integer.parseInt(order) == 3)
|
| | | sf.setSort(TaoBaoUtil.SORT_PRICE_HIGH_TO_LOW);
|
| | | else if (Integer.parseInt(order) == 4)
|
| | | sf.setSort(TaoBaoUtil.SORT_TKRATE_HIGH_TO_LOW);
|
| | | if (StringUtil.isNullOrEmpty(kw))
|
| | | recommend = true;
|
| | |
|
| | |
| | | }
|
| | | } else {
|
| | | TaoBaoGoodsBriefExtra taoBaoGoodsBriefExtra;
|
| | | if(taoBaoGoodsBriefs!=null)
|
| | | for (TaoBaoGoodsBrief taoBaoGoodsBrief : taoBaoGoodsBriefs) {
|
| | | taoBaoGoodsBriefExtra = TaoBaoUtil.getTaoBaoGoodsBriefExtra(taoBaoGoodsBrief,
|
| | | proportion.toString(), "");
|
| | | listExtra.add(taoBaoGoodsBriefExtra);
|
| | | }
|
| | | if (taoBaoGoodsBriefs != null)
|
| | | for (TaoBaoGoodsBrief taoBaoGoodsBrief : taoBaoGoodsBriefs) {
|
| | | taoBaoGoodsBriefExtra = TaoBaoUtil.getTaoBaoGoodsBriefExtra(taoBaoGoodsBrief,
|
| | | proportion.toString(), "");
|
| | | listExtra.add(taoBaoGoodsBriefExtra);
|
| | | }
|
| | | }
|
| | | count = result.getTaoBaoHead().getDocsfound();
|
| | | }
|
| | |
| | | * out.print(JsonUtil.loadFalseResult(XcxMiniControllerUtil.NOSYSTEM));
|
| | | * return; }
|
| | | */
|
| | | List<SuperHotSearch> superHotSearchList = superHotSearchSerivce.getSuperHotSearchBySystemId(4); // 返利券app
|
| | | List<SuperHotSearch> superHotSearchList = superHotSearchSerivce.getSuperHotSearchBySystemId(4,null); // 板栗快省app
|
| | | if (superHotSearchList == null || superHotSearchList.size() == 0) {
|
| | | out.print(JsonUtil.loadFalseResult(WebControllerUtil.NODATA));
|
| | | return;
|