【fix sonar】SysDictController文件
This commit is contained in:
-1
@@ -392,7 +392,6 @@ public class SysDictController {
|
||||
@ApiOperation(value = "字典控制器-删除字典", notes = "字典控制器-删除字典")
|
||||
@PostMapping(value = "/delete")
|
||||
@CacheEvict(value={CacheConstant.SYS_DICT_CACHE, CacheConstant.SYS_ENABLE_DICT_CACHE}, allEntries=true)
|
||||
// public Result<Object> delete(@RequestParam(name="id",required=true) String id) {
|
||||
public Result<Object> delete(@RequestBody Map<String,String> map) {
|
||||
String id = map.get("id");
|
||||
boolean ok = sysDictService.removeById(id);
|
||||
|
||||
Reference in New Issue
Block a user