|
@@ -34,9 +34,14 @@ public class ModelingConfigController {
|
|
|
}
|
|
|
|
|
|
@PostMapping("/saveOrUpdate")
|
|
|
- public ResultData list(@RequestBody ModelingConfig param){
|
|
|
+ public ResultData saveOrUpdate(@RequestBody ModelingConfig param){
|
|
|
return ResultData.ok(modelingConfigService.saveOrUpdate(param));
|
|
|
}
|
|
|
|
|
|
+ @PostMapping("/delete")
|
|
|
+ public ResultData delete(@RequestBody ModelingConfig param){
|
|
|
+ return ResultData.ok(modelingConfigService.removeById(param));
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|