huangzhen
2023-12-19 2dd2e7f54db7149965acaa11d933f85b31fbd59c
src/main/java/com/gkhy/fourierSpecialGasMonitor/controller/GasThresholdController.java
@@ -1,5 +1,6 @@
package com.gkhy.fourierSpecialGasMonitor.controller;
import com.gkhy.fourierSpecialGasMonitor.annotation.RepeatedClick;
import com.gkhy.fourierSpecialGasMonitor.commons.domain.Result;
import com.gkhy.fourierSpecialGasMonitor.entity.req.UpdateGasThresholdReqDTO;
import com.gkhy.fourierSpecialGasMonitor.entity.req.UpdateRegionReqDTO;
@@ -29,6 +30,7 @@
    }
    @PostMapping("/update")
    @RepeatedClick
    public Result updateGasThreshold(@RequestBody UpdateGasThresholdReqDTO reqDto){
        Result result = gasThresholdService.updateGasThreshold(reqDto);
        return result;