whyclxw
2024-03-11 70189eed5b6e57530e17dc74288a52c1af6f18cf
src/main/java/com/whyc/controller/CarCameraHisController.java
@@ -9,6 +9,8 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.io.UnsupportedEncodingException;
@Api(tags = "门禁历史")
@RestController
@RequestMapping("CarCameraHis")
@@ -22,4 +24,10 @@
    public Response getCarCameraHis(@RequestParam int carCameraId,@RequestParam int pageCurr,@RequestParam int pageSize){
        return service.getCarCameraHis(carCameraId,pageCurr,pageSize);
    }
    @ApiOperation(value = "获取门禁历史数据(以人为主)")
    @PostMapping("getCarCameraHis_people")
    public Response getCarCameraHis_people(@RequestBody Login login) throws UnsupportedEncodingException, InterruptedException {
        return service.getCarCameraHis_people(login);
    }
}