There is a problem with the logic of the previous page in paging
After calculation, the actual value of $page is 2, and the content displayed in the actual list is also the content of the second page, but the value of Pd in the url is 1. I hope the teacher can check it out, thank you!