|
@@ -14,7 +14,7 @@ import org.springframework.web.bind.annotation.*;
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
|
- * 会员收藏管理Controller
|
|
|
+ * 会员商品收藏管理Controller
|
|
|
* Created by macro on 2018/8/2.
|
|
|
*/
|
|
|
@Controller
|
|
@@ -36,7 +36,7 @@ public class MemberProductCollectionController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @ApiOperation("删除收藏商品")
|
|
|
+ @ApiOperation("删除商品收藏")
|
|
|
@RequestMapping(value = "/delete", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
public CommonResult delete(Long productId) {
|
|
@@ -48,7 +48,7 @@ public class MemberProductCollectionController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @ApiOperation("显示收藏列表")
|
|
|
+ @ApiOperation("显示商品收藏列表")
|
|
|
@RequestMapping(value = "/list", method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
public CommonResult<CommonPage<MemberProductCollection>> list(@RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum,
|
|
@@ -57,7 +57,7 @@ public class MemberProductCollectionController {
|
|
|
return CommonResult.success(CommonPage.restPage(page));
|
|
|
}
|
|
|
|
|
|
- @ApiOperation("显示收藏商品详情")
|
|
|
+ @ApiOperation("显示商品收藏详情")
|
|
|
@RequestMapping(value = "/detail", method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
public CommonResult<MemberProductCollection> detail(@RequestParam Long productId) {
|
|
@@ -65,7 +65,7 @@ public class MemberProductCollectionController {
|
|
|
return CommonResult.success(memberProductCollection);
|
|
|
}
|
|
|
|
|
|
- @ApiOperation("清空收藏列表")
|
|
|
+ @ApiOperation("清空商品收藏列表")
|
|
|
@RequestMapping(value = "/clear", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
public CommonResult clear() {
|