Commit a19e3db7 authored by Quxl's avatar Quxl

x

parent 5c0fad2f
...@@ -55,7 +55,7 @@ public class UserReviewController { ...@@ -55,7 +55,7 @@ public class UserReviewController {
@ApiImplicitParam(paramType = "query", dataType = "long", required = false, name = "index", value="分页页码"), @ApiImplicitParam(paramType = "query", dataType = "long", required = false, name = "index", value="分页页码"),
@ApiImplicitParam(paramType = "query", dataType = "long", required = false, name = "limit", value="分页大小"), @ApiImplicitParam(paramType = "query", dataType = "long", required = false, name = "limit", value="分页大小"),
}) })
public Object getReviewList(boolean is_review, Date start_date, Date end_date, Integer film_type_id, Integer enroll_type_id, String keyword, Long index, Long limit) { public Object getReviewList(boolean is_review, @DateTimeFormat(pattern="yyyy-MM-dd")Date start_date, @DateTimeFormat(pattern="yyyy-MM-dd")Date end_date, Integer film_type_id, Integer enroll_type_id, String keyword, Long index, Long limit) {
index = index == null ? 1 : index; index = index == null ? 1 : index;
limit = limit == null ? 20 : limit; limit = limit == null ? 20 : limit;
Page page = new Page(index, limit); Page page = new Page(index, limit);
......
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