|
@@ -42,14 +42,6 @@ public class AppFavoriteController {
|
|
|
return success(productFavoriteService.createFavorite(getLoginUserId(), reqVO.getSpuId()));
|
|
|
}
|
|
|
|
|
|
- @PostMapping(value = "/create-list")
|
|
|
- @Operation(summary = "添加多个商品收藏")
|
|
|
- @PreAuthenticated
|
|
|
- public CommonResult<Boolean> createFavoriteList(@RequestBody @Valid AppFavoriteBatchReqVO reqVO) {
|
|
|
- // todo @jason:待实现;如果有已经收藏的,不用报错,忽略即可;
|
|
|
- return success(true);
|
|
|
- }
|
|
|
-
|
|
|
@DeleteMapping(value = "/delete")
|
|
|
@Operation(summary = "取消单个商品收藏")
|
|
|
@PreAuthenticated
|
|
@@ -58,15 +50,6 @@ public class AppFavoriteController {
|
|
|
return success(Boolean.TRUE);
|
|
|
}
|
|
|
|
|
|
- @DeleteMapping(value = "/delete-list")
|
|
|
- @Operation(summary = "取消多个商品收藏")
|
|
|
- @PreAuthenticated
|
|
|
- public CommonResult<Boolean> deleteFavoriteList(@RequestBody @Valid AppFavoriteBatchReqVO reqVO) {
|
|
|
- // todo @jason:待实现
|
|
|
-// productFavoriteService.deleteFavorite(getLoginUserId(), reqVO.getSpuId());
|
|
|
- return success(Boolean.TRUE);
|
|
|
- }
|
|
|
-
|
|
|
@GetMapping(value = "/page")
|
|
|
@Operation(summary = "获得商品收藏分页")
|
|
|
@PreAuthenticated
|