| | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.text.ParseException; |
| | | import java.util.List; |
| | | import java.util.Objects; |
| | | |
| | | /** |
| | | * 用户操作日志 |
| | |
| | | @RestController |
| | | @RequestMapping("userLog") |
| | | @Api(tags = "用户管理-操作事件管理") |
| | | public class UserLogController { |
| | | public class UserLogController extends BaseController{ |
| | | |
| | | @Autowired |
| | | private UserLogService service; |
| | | |
| | | @ApiOperation(value = "分页") |
| | | @PostMapping("page") |
| | | public Response<PageInfo<UserLog>> getPage(@RequestParam int pageNum, @RequestParam int pageSize, @RequestBody UserLog userLog) throws ParseException { |
| | | public Response<PageInfo<Object>> getPage(@RequestParam int pageNum, @RequestParam int pageSize, @RequestBody UserLog userLog) throws ParseException { |
| | | //PageInfo<UserLog> pageInfo = service.getPage(pageNum,pageSize,userLog); |
| | | PageInfo<UserLog> pageInfo = service.getPage2(pageNum,pageSize,userLog); |
| | | return new Response<PageInfo<UserLog>>().set(1,pageInfo); |
| | | PageInfo<Object> pageInfo = service.getPage2(pageNum,pageSize,userLog); |
| | | return new Response<PageInfo<Object>>().set(1,pageInfo); |
| | | } |
| | | |
| | | @PostMapping("exportExcel") |