fix[litemall-wx]: 删除没用的代码。

This commit is contained in:
Junling Bu
2018-04-01 16:25:03 +08:00
parent cfae40efbf
commit e567713f26

View File

@@ -73,18 +73,10 @@ public class WxCommentController {
@RequestMapping("list")
public Object list(Byte typeId, Integer valueId, Integer showType,
@RequestParam(value = "page", defaultValue = "0") Integer page,
@RequestParam(value = "size", defaultValue = "10") Integer size,
String sort, String order) {
@RequestParam(value = "size", defaultValue = "10") Integer size) {
if(typeId == null || valueId == null || showType == null){
return ResponseUtil.fail401();
}
if(sort == null){
sort = "";
}
if(order == null){
order = "";
}
List<LitemallComment> commentList = commentService.query(typeId, valueId, showType, page, size);
int count = commentService.count(typeId, valueId, showType, page, size);