xuhy
2024-08-17 ad85aa61b0f7eba7a0ddad82eba784b015b8413a
ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/controller/TMonitoringEquipmentController.java
@@ -72,7 +72,7 @@
     */
    @ApiOperation(tags = {"后台-监控"},value = "查看监控详情")
    @GetMapping(value = "/getDetailById")
    public AjaxResult<TMonitoringEquipment> getDetailById(@RequestParam Integer id) {
    public AjaxResult<TMonitoringEquipment> getDetailById(@RequestParam("id") Integer id) {
        return AjaxResult.ok(monitoringEquipmentService.getById(id));
    }
@@ -82,7 +82,7 @@
    @Log(title = "删除监控", businessType = BusinessType.DELETE,operatorType = OperatorType.MANAGE)
    @ApiOperation(tags = {"后台-监控"},value = "删除监控")
    @DeleteMapping(value = "/deleteById")
    public AjaxResult<Boolean> deleteById(@RequestParam Integer id) {
    public AjaxResult<Boolean> deleteById(@RequestParam("id") Integer id) {
        return AjaxResult.ok(monitoringEquipmentService.removeById(id));
    }