|
@@ -11,6 +11,7 @@ import com.zbkj.common.model.system.GroupConfig;
|
|
|
import com.zbkj.common.model.system.SystemConfig;
|
|
|
import com.zbkj.common.model.user.User;
|
|
|
import com.zbkj.common.page.CommonPage;
|
|
|
+import com.zbkj.common.query.IndexMerchantQuery;
|
|
|
import com.zbkj.common.request.PageParamRequest;
|
|
|
import com.zbkj.common.response.*;
|
|
|
import com.zbkj.common.utils.CrmebUtil;
|
|
@@ -83,6 +84,7 @@ public class IndexServiceImpl implements IndexService {
|
|
|
IndexInfoResponse indexInfoResponse = new IndexInfoResponse();
|
|
|
indexInfoResponse.setBanner(systemGroupDataService.getListMapByGid(GroupDataConstants.GROUP_DATA_ID_INDEX_BANNER)); //首页banner滚动图
|
|
|
indexInfoResponse.setMenus(systemGroupDataService.getListMapByGid(GroupDataConstants.GROUP_DATA_ID_INDEX_MENU)); //首页金刚区
|
|
|
+ indexInfoResponse.setProList(merchantService.findProIndexList(2));//首页活动精选区
|
|
|
indexInfoResponse.setLogoUrl(systemAttachmentService.getCdnUrl());// 移动端顶部logo 1.3版本 DIY 已经替代
|
|
|
indexInfoResponse.setWechatBrowserVisit(systemConfigService.getValueByKey(SysConfigConstants.CONFIG_WECHAT_BROWSER_VISIT));// 是否开启微信公众号授权登录
|
|
|
// 客服部分
|
|
@@ -168,8 +170,8 @@ public class IndexServiceImpl implements IndexService {
|
|
|
* 首页商户列表
|
|
|
*/
|
|
|
@Override
|
|
|
- public List<IndexMerchantResponse> findIndexMerchantListByRecomdNum(Integer recomdProdsNum) {
|
|
|
- return merchantService.findIndexList(recomdProdsNum);
|
|
|
+ public List<IndexMerchantResponse> findIndexMerchantListByRecomdNum(IndexMerchantQuery indexMerchantQuery, Integer recomdProdsNum) {
|
|
|
+ return merchantService.findIndexList(indexMerchantQuery,recomdProdsNum);
|
|
|
}
|
|
|
|
|
|
/**
|