Commit cc4c867e authored by shiyu's avatar shiyu

注释

parent f6bfab36
......@@ -201,6 +201,12 @@ public class ItemServiceImpl implements ItemService {
}
}
@Override
public Result itemsOfFollower(ItemRequestDto dto) {
return null;
}
@Override
public Result myPage(ItemRequestDto dto, HttpServletRequest request) {
try {
......
......@@ -23,6 +23,16 @@ public interface ItemService {
*/
Result page(ItemRequestDto dto);
/**
* 首页/关注人发布的商品列表
*
* @param dto
* @return
*/
Result itemsOfFollower(ItemRequestDto dto);
/**
* 我发布的
*
......
......@@ -37,7 +37,7 @@ public class WxItemController {
return itemService.nameList(dto);
}
@ApiOperation(value = "首页")
@ApiOperation(value = "首页/推荐")
@PostMapping("/page")
public Result page(@RequestBody ItemRequestDto dto) {
logger.info("【请求开始】藏品列表首页,请求参数:{}", JSON.toJSONString(dto));
......@@ -50,6 +50,17 @@ public class WxItemController {
return itemService.page(dto);
}
@ApiOperation(value = "首页/关注人发布的商品列表")
@PostMapping("/itemsOfFollower")
public Result itemsOfFollower(@RequestBody ItemRequestDto dto) {
logger.info("【请求开始】关注人发布的商品列表,请求参数:{}", JSON.toJSONString(dto));
return itemService.itemsOfFollower(dto);
}
@ApiOperation(value = "我发布的")
@PostMapping("/myPage")
public Result myPage(@RequestBody ItemRequestDto dto, HttpServletRequest request) {
......
Markdown is supported
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