src/main/java/com/whyc/controller/ProcessSurveyController.java
@@ -24,13 +24,13 @@ return service.getAll(); } @PutMapping() @PostMapping("update") @ApiOperation(value = "通过id更新") public Response update(@RequestBody ProcessSurvey survey){ return service.updateById(survey); } @PutMapping("/updateFlag") @PostMapping("/updateFlag") @ApiOperation(value = "通过服务名修改标识") public Response updateFlagByName(@RequestBody ProcessSurvey survey){ return service.updateServerFlagByName(survey);