|
|
@@ -761,6 +761,21 @@ public class StoreInfoController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "更多推荐(用户端)")
|
|
|
+ @GetMapping("/getMoreRecommendedStores")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "lon", 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 = "businessTypes", value = "经营分类", dataType = "String", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "businessClassify", value = "分类", dataType = "String", 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));
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation(value = "AI服务-门头识别")
|
|
|
@ApiOperationSupport(order = 16)
|
|
|
@ApiImplicitParams({
|
|
|
@@ -782,4 +797,17 @@ public class StoreInfoController {
|
|
|
}
|
|
|
return R.data(ocrData);
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation(value = "获取店铺详情(用户端)")
|
|
|
+ @ApiOperationSupport(order = 17)
|
|
|
+ @GetMapping("/getClientStoreDetail")
|
|
|
+ @ResponseBody
|
|
|
+ public R getClientStoreDetail(@RequestParam("id") String id,
|
|
|
+ @RequestParam(value = "userId", required = false) String userId,
|
|
|
+ @RequestParam(value = "jingdu", required = false) String jingdu,
|
|
|
+ @RequestParam(value = "weidu", required = false) String weidu) {
|
|
|
+ log.info("StoreInfoController.getClientStoreDetail?id={},userId={},jingdu={},weidu={}", id, jingdu, weidu);
|
|
|
+ StoreInfoVo storeDetail = storeInfoService.getClientStoreDetail(id, userId, jingdu, weidu);
|
|
|
+ return R.data(storeDetail);
|
|
|
+ }
|
|
|
}
|