fix 标签管理批量删除报错
This commit is contained in:
+2
-2
@@ -422,14 +422,14 @@ public class SysDictController {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @功能:批量删除
|
* @功能:批量删除
|
||||||
* @param ids
|
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@ApiOperation(value = "字典控制器-批量字典", notes = "字典控制器-批量字典")
|
@ApiOperation(value = "字典控制器-批量字典", notes = "字典控制器-批量字典")
|
||||||
@PostMapping(value = "/deleteBatch")
|
@PostMapping(value = "/deleteBatch")
|
||||||
@RequiresPermissions("sys:dict:operation")
|
@RequiresPermissions("sys:dict:operation")
|
||||||
@CacheEvict(value= {CacheConstant.SYS_DICT_CACHE, CacheConstant.SYS_ENABLE_DICT_CACHE}, allEntries=true)
|
@CacheEvict(value= {CacheConstant.SYS_DICT_CACHE, CacheConstant.SYS_ENABLE_DICT_CACHE}, allEntries=true)
|
||||||
public Result<Object> deleteBatch(@RequestParam(name="ids",required=true) String ids) {
|
public Result<Object> deleteBatch(@RequestBody Map<String,String> map) {
|
||||||
|
String ids = map.get("ids");
|
||||||
if(oConvertUtils.isEmpty(ids)) {
|
if(oConvertUtils.isEmpty(ids)) {
|
||||||
return Result.error("参数不识别!");
|
return Result.error("参数不识别!");
|
||||||
}else {
|
}else {
|
||||||
|
|||||||
Reference in New Issue
Block a user