task--继续完善swagger文档

This commit is contained in:
taochengbo
2020-08-31 23:45:32 +08:00
parent a6970e4a89
commit 610cce7aa7
3 changed files with 24 additions and 1 deletions

View File

@ -24,6 +24,7 @@ public abstract class QueryParam implements Serializable{
@ApiModelProperty(value = "搜索字符串")
private String keyword;
@ApiModelProperty(value = "当前第几页")
public void setCurrent(Integer current) {
if (current == null || current <= 0){
this.page = 1;