refactor: 日志和websocket代码优化
This commit is contained in:
@@ -25,7 +25,7 @@ public interface LogService extends IService<Log> {
|
||||
* @param queryParams 查询参数
|
||||
* @return
|
||||
*/
|
||||
Page<LogPageVO> listPagedLogs(LogPageQuery queryParams);
|
||||
Page<LogPageVO> getLogPage(LogPageQuery queryParams);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,8 +36,8 @@ public class LogServiceImpl extends ServiceImpl<LogMapper, Log>
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public Page<LogPageVO> listPagedLogs(LogPageQuery queryParams) {
|
||||
return this.baseMapper.listPagedLogs(new Page<>(queryParams.getPageNum(), queryParams.getPageSize()),
|
||||
public Page<LogPageVO> getLogPage(LogPageQuery queryParams) {
|
||||
return this.baseMapper.getLogPage(new Page<>(queryParams.getPageNum(), queryParams.getPageSize()),
|
||||
queryParams);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user