|
@@ -40,20 +40,20 @@ public class ProjectOtherSettingController extends ControllerSupport {
|
|
|
}
|
|
|
|
|
|
@PostMapping("/{id}")
|
|
|
- @ApiOperation(value = "获取其它事项设置的信息")
|
|
|
+ @ApiOperation(value = "获取某个其它事项设置的信息")
|
|
|
public ProjectOtherSetting get(@PathVariable Long id) {
|
|
|
return projectOtherSettingService.getProjectOtherSettingById(id);
|
|
|
}
|
|
|
|
|
|
@PostMapping("/save")
|
|
|
- @ApiOperation(value = "保存其它事项设置信息")
|
|
|
+ @ApiOperation(value = "保存或更新某个其它事项设置信息")
|
|
|
public Result save(@RequestBody ProjectOtherSetting info) {
|
|
|
projectOtherSettingService.saveProjectOtherSetting(info);
|
|
|
return success();
|
|
|
}
|
|
|
|
|
|
@PostMapping("/delete/{id}")
|
|
|
- @ApiOperation(value = "删除其它事项设置信息")
|
|
|
+ @ApiOperation(value = "删除某个其它事项设置信息")
|
|
|
public Result delete(@PathVariable Long id) {
|
|
|
projectOtherSettingService.deleteProjectOtherSettingById(id);
|
|
|
return success();
|