li-keguo opened a new issue #3062: URL: https://github.com/apache/incubator-shenyu/issues/3062
### Volunteer help I completed the task of verifying interface parameters. But it still needs some matching changes in the front end. eg: api: GET http://localhost:9095/shenyu-dict?currentPage=1&pageSize=10 **before:** ``` GET http://localhost:9095/shenyu-dict? ## successed, the currentPage default is 1,the pageSize default is 12 ``` ```java // sources code public PageParameter(final Integer currentPage, final Integer pageSize) { this.currentPage = Objects.isNull(currentPage) || currentPage <= 0 ? 1 : currentPage; this.pageSize = Objects.isNull(currentPage) || pageSize <= 0 ? DEFAULT_PAGE_SIZE : pageSize; this.offset = (this.currentPage - 1) * this.pageSize; } ``` I think if need paged, paged info be must not null **but now:** ``` GET http://localhost:9095/shenyu-dict?currentPage=1&pageSize=140 ## failed, throw message:the currentPage is not null,pageSize is not null ``` in the page, after adding.... <img width="1260" alt="image" src="https://user-images.githubusercontent.com/33576070/159034204-83b858c2-26da-4f90-8090-b0a5915c6ad4.png"> it eorror message is : the currentPage is not null,pageSize is not null The front page needs to be adapted to provide paging information I check page, There are several places that need to be modified - [ ] Dictory page list - [ ] PluginHandle page list -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
