|
|
@@ -12,6 +12,7 @@ import shop.alien.entity.result.R;
|
|
|
import shop.alien.entity.store.*;
|
|
|
import shop.alien.entity.store.dto.StoreInfoDto;
|
|
|
import shop.alien.entity.store.vo.*;
|
|
|
+import shop.alien.mapper.StoreCommentSummaryInterestMapper;
|
|
|
import shop.alien.mapper.StoreImgMapper;
|
|
|
import shop.alien.mapper.TagsMainMapper;
|
|
|
import shop.alien.mapper.WebAuditMapper;
|
|
|
@@ -45,6 +46,8 @@ public class StoreInfoController {
|
|
|
|
|
|
private final WebAuditMapper webAuditMapper;
|
|
|
|
|
|
+ private final StoreCommentSummaryInterestMapper storeCommentSummaryInterestMapper;
|
|
|
+
|
|
|
@ApiOperation("获取所有门店")
|
|
|
@ApiOperationSupport(order = 1)
|
|
|
@GetMapping("/getAll")
|
|
|
@@ -740,4 +743,15 @@ public class StoreInfoController {
|
|
|
return R.data(voList);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "AI服务-门店趣味信息")
|
|
|
+ @GetMapping("/getStoreInterestInfo")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "storeId", value = "门店id", dataType = "int", paramType = "query")
|
|
|
+ })
|
|
|
+ public R<List<StoreCommentSummaryInterest>> getStoreInterestInfo(int storeId) {
|
|
|
+ log.info("StoreInfoController.getStoreInterestInfo?storeId={}", storeId);
|
|
|
+ List<StoreCommentSummaryInterest> list = storeCommentSummaryInterestMapper.selectList(new LambdaQueryWrapper<StoreCommentSummaryInterest>().eq(StoreCommentSummaryInterest :: getStoreId, storeId));
|
|
|
+ return R.data(list);
|
|
|
+ }
|
|
|
+
|
|
|
}
|