whyclxw
2025-05-28 e16302f9d475c7cc4dd18c5abf1a23cb5502e362
src/main/java/com/whyc/controller/Li9130DcdcParamController.java
@@ -6,15 +6,12 @@
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
@Api(tags = "在线监测-实时监控")
@RestController
@RequestMapping("Li9130DCDCParamAction")
public class Li9130DcdcParamController {
public class Li9130DcdcParamController extends BaseController{
    @Autowired
    private Li9130DcdcParamService service;
@@ -25,8 +22,8 @@
    }
    @ApiOperation(value = "设置DCDC工作参数",notes ="Li9130DCDCParamAction!updateParam" )
    @GetMapping("updateParam")
    public Response updateParam(@RequestParam Li9130DcdcParam param){
    @PostMapping("updateParam")
    public Response updateParam(@RequestBody Li9130DcdcParam param){
        return service.updateParam(param);
    }
}