Cannot construct instance of `com.baomidou.mybatisplus.core.metadata.IPage` (no Creators, like default construct, exist): abstract types either need to be mapped to concrete types, have custom deserializer, or contain additional type information
at [Source: (PushbackInputStream); line: 1, column: 1]] with root cause
服务端Service代码
/********************************************************************************
* @Title: getlist
* @Description: 通过条件获取系统日志表分页列表
********************************************************************************/
@PostMapping(value = "/list/page/{pageNum}/{pageSize}")
@ApiOperation(value = "获取系统日志表详情", notes = "通过条件获取系统日志表详情")
public IPage<SysLog> getlist(@RequestBody SysLog sysLog, @PathVariable int pageNum, @PathVariable int pageSize) throws BaseException {
IPage<SysLog> page = new Page<SysLog>(pageNum, pageSize);
return sysLogDao.selectPage(page, new QueryWrapper<SysLog>(sysLog));
}