From ce8304fba4049a99aacc408f7a2e63d1f328b80f Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期一, 12 十二月 2022 09:58:09 +0800
Subject: [PATCH] fix: 实时视频接口
---
ycl-platform/src/main/java/com/ycl/controller/writ/WritTemplateController.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ycl-platform/src/main/java/com/ycl/controller/writ/WritTemplateController.java b/ycl-platform/src/main/java/com/ycl/controller/writ/WritTemplateController.java
index bb03a70..387901b 100644
--- a/ycl-platform/src/main/java/com/ycl/controller/writ/WritTemplateController.java
+++ b/ycl-platform/src/main/java/com/ycl/controller/writ/WritTemplateController.java
@@ -36,10 +36,10 @@
@GetMapping("/query")
@ApiOperation(value = "鏌ヨ")
@LogSave(operationType = "鏂囦功妯℃澘绠$悊", contain = "鏌ヨ鏂囦功妯℃澘")
- public CommonResult search(@RequestParam Integer size,
- @RequestParam Integer current,
+ public CommonResult search(@RequestParam Integer pageSize,
+ @RequestParam Integer currentPage,
@RequestParam(required = false) String name) {
- return CommonResult.success(iWritTemplateService.page(new Page<>(size, current), new LambdaQueryWrapper<WritTemplate>()
+ return CommonResult.success(iWritTemplateService.page(new Page<>(currentPage, pageSize), new LambdaQueryWrapper<WritTemplate>()
.like(StringUtils.isNotBlank(name), WritTemplate::getName, name)));
}
}
\ No newline at end of file
--
Gitblit v1.8.0