ard-admin/src/main/java/com/ard/web/controller/work/ArdServerInfoController.java
@@ -106,4 +106,15 @@ return toAjax(ardServerInfoService.deleteArdServerInfoByIds(ids)); } /** * 修改服务器状态 */ @ApiOperation("修改服务器状态") @PreAuthorize("@ss.hasPermi('work:server:updateStatus')") @Log(title = "服务器管理", businessType = BusinessType.UPDATE) @PutMapping("/{id}/{status}") public AjaxResult updateServerStatus(@PathVariable("id") String id,@PathVariable("status") String status) { return toAjax(ardServerInfoService.updateServerStatus(id,status)); } }