whyclxw
2025-03-25 a7fef2846505b08e0711345b17902e7381612d23
src/main/java/com/whyc/controller/LockInfController.java
@@ -46,9 +46,21 @@
    @ApiOperation(value = "添加锁(批量)")
    @PostMapping("addLock")
    public Response addLock(@RequestParam Integer num,@RequestBody LockInf lockInf){
    public Response addLock(@RequestParam(required = false) Integer num,@RequestBody LockInf lockInf){
        return service.addLock(num,lockInf);
    }
    @ApiOperation(value = "查询屏柜全部类型(下拉)")
    @PostMapping("getScreenType")
    public Response getScreenType(){
        return service.getScreenType();
    }
    @ApiOperation(value = "查询屏柜全部品牌(下拉)")
    @PostMapping("getScreenProduct")
    public Response getScreenProduct(){
        return service.getScreenProduct();
    }
    @ApiOperation(value = "删除锁")