|
@@ -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));
|
|
|
indexInfoResponse.setMenus(systemGroupDataService.getListMapByGid(GroupDataConstants.GROUP_DATA_ID_INDEX_MENU));
|
|
|
+ indexInfoResponse.setProList(merchantService.findProIndexList(2));
|
|
|
indexInfoResponse.setLogoUrl(systemAttachmentService.getCdnUrl());
|
|
|
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);
|
|
|
}
|
|
|
|
|
|
|