Commit e567713f authored by Junling Bu's avatar Junling Bu
Browse files

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

parent cfae40ef
......@@ -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);
......
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