Commit adf0e47e authored by macro's avatar macro
Browse files

Update MemberProductCollectionController.java

parent e9d09708
......@@ -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() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment