package com.whyc.controller; import com.github.pagehelper.PageInfo; import com.whyc.dto.Response; import com.whyc.pojo.db_fire_robot.IdentifyAlarmHis; import com.whyc.service.IdentifyAlarmHisService; import com.whyc.service.IdentifyAlarmService; import io.swagger.annotations.Api; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import java.lang.reflect.InvocationTargetException; @RestController @RequestMapping("identifyAlarmHis") @Api("算法识别报警") public class IdentifyAlarmHisController { @Autowired private IdentifyAlarmHisService service; @GetMapping("getPage") public Response> getPage(@RequestParam int pageNum, @RequestParam int pageSize){ return service.getPage(pageNum, pageSize); } }