whyclxw
2024-03-11 525166acab2b1219417f1e3953c0b7836995bc2c
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);
    }
}