|
@@ -1069,11 +1069,13 @@ public class StoreInfoController {
|
|
|
@ApiImplicitParam(name = "lat", value = "纬度", dataType = "double", paramType = "query", required = true),
|
|
@ApiImplicitParam(name = "lat", value = "纬度", dataType = "double", paramType = "query", required = true),
|
|
|
@ApiImplicitParam(name = "businessSection", value = "经营板块", dataType = "String", paramType = "query", required = true),
|
|
@ApiImplicitParam(name = "businessSection", value = "经营板块", dataType = "String", paramType = "query", required = true),
|
|
|
@ApiImplicitParam(name = "businessTypes", value = "经营分类", dataType = "String", paramType = "query"),
|
|
@ApiImplicitParam(name = "businessTypes", value = "经营分类", dataType = "String", paramType = "query"),
|
|
|
- @ApiImplicitParam(name = "businessClassify", value = "分类", dataType = "String", paramType = "query")
|
|
|
|
|
|
|
+ @ApiImplicitParam(name = "businessClassify", value = "分类", dataType = "String", paramType = "query"),
|
|
|
|
|
+ @ApiImplicitParam(name = "storeId", value = "当前商铺ID(传入则从推荐列表中排除该店铺)", dataType = "Integer", paramType = "query")
|
|
|
})
|
|
})
|
|
|
- public R<List<StoreInfoVo>> getMoreRecommendedStores(Double lon , Double lat, String businessSection, String businessTypes, String businessClassify) {
|
|
|
|
|
- log.info("StoreInfoController.getMoreRecommendedStores?lon={},lat={},businessSection={},businessTypes={},businessClassify={}", lon,lat, businessSection, businessTypes, businessClassify);
|
|
|
|
|
- return R.data(storeInfoService.getMoreRecommendedStores(lon,lat, businessSection, businessTypes, businessClassify));
|
|
|
|
|
|
|
+ public R<List<StoreInfoVo>> getMoreRecommendedStores(Double lon , Double lat, String businessSection, String businessTypes, String businessClassify,
|
|
|
|
|
+ @RequestParam(required = false) Integer storeId) {
|
|
|
|
|
+ log.info("StoreInfoController.getMoreRecommendedStores?lon={},lat={},businessSection={},businessTypes={},businessClassify={},storeId={}", lon,lat, businessSection, businessTypes, businessClassify, storeId);
|
|
|
|
|
+ return R.data(storeInfoService.getMoreRecommendedStores(lon,lat, businessSection, businessTypes, businessClassify, storeId));
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|