|
@@ -44,8 +44,8 @@ public class ProjectDictController {
|
|
|
* 新增
|
|
|
*/
|
|
|
@ApiOperation(value = "删除")
|
|
|
- @PostMapping(value = "/deleteById")
|
|
|
- public ResponseEntity<String> deleteById(@RequestParam String id){
|
|
|
+ @DeleteMapping(value = "/deleteById")
|
|
|
+ public ResponseEntity<String> deleteById(String id){
|
|
|
String deleteById = projectDictService.deleteById(id);
|
|
|
return ResponseEntity.ok(deleteById);
|
|
|
}
|