From 2fc3dcfc74c40a756fb5a9b7cf73338e085966cf Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期一, 05 七月 2021 16:35:15 +0800 Subject: [PATCH] update 更改演示案例 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDictDataController.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDictDataController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDictDataController.java index 157030f..a272a6e 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDictDataController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDictDataController.java @@ -21,7 +21,7 @@ /** * 鏁版嵁瀛楀吀淇℃伅 - * + * * @author ruoyi */ @RestController @@ -107,6 +107,7 @@ @DeleteMapping("/{dictCodes}") public AjaxResult remove(@PathVariable Long[] dictCodes) { - return toAjax(dictDataService.deleteDictDataByIds(dictCodes)); + dictDataService.deleteDictDataByIds(dictCodes); + return success(); } } -- Gitblit v1.9.3