fix: 广告分页列表路径错误调整

This commit is contained in:
hxr 2024-03-04 00:02:16 +08:00
parent da0d3a16be
commit ff4d57c2e9

View File

@ -25,8 +25,8 @@ public class SmsAdvertController {
private final SmsAdvertService smsAdvertService;
@Operation(summary= "广告分页列表")
@GetMapping("/pages")
public PageResult getAdvertPage(AdvertPageQuery queryParams) {
@GetMapping("/page")
public PageResult<SmsAdvert> getAdvertPage(AdvertPageQuery queryParams) {
// 查询参数
int pageNum = queryParams.getPageNum();