全新UI视觉体验,移动端API优化降低重复调用,提高并发6倍,修复N多Bug
This commit is contained in:
33
crmeb/src/main/java/com/common/SearchAndPageRequest.java
Normal file
33
crmeb/src/main/java/com/common/SearchAndPageRequest.java
Normal file
@@ -0,0 +1,33 @@
|
||||
package com.common;
|
||||
|
||||
import com.constants.Constants;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 查询分页公共请求对象
|
||||
* +----------------------------------------------------------------------
|
||||
* | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
|
||||
* +----------------------------------------------------------------------
|
||||
* | Copyright (c) 2016~2020 https://www.crmeb.com All rights reserved.
|
||||
* +----------------------------------------------------------------------
|
||||
* | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
|
||||
* +----------------------------------------------------------------------
|
||||
* | Author: CRMEB Team <admin@crmeb.com>
|
||||
* +----------------------------------------------------------------------
|
||||
*/
|
||||
@Data
|
||||
public class SearchAndPageRequest {
|
||||
|
||||
@ApiModelProperty(value = "搜索关键字")
|
||||
private String keywords;
|
||||
|
||||
@ApiModelProperty(value = "页码", example= Constants.DEFAULT_PAGE + "")
|
||||
private int page = Constants.DEFAULT_PAGE;
|
||||
|
||||
@ApiModelProperty(value = "每页数量", example = Constants.DEFAULT_LIMIT + "")
|
||||
private int limit = Constants.DEFAULT_LIMIT;
|
||||
|
||||
@ApiModelProperty(value = "优惠券类型:1-手动领取,3-赠送券")
|
||||
private Integer type;
|
||||
}
|
||||
Reference in New Issue
Block a user