From d51c1e701fec54fef51fe84de2afba5e1ccd2da4 Mon Sep 17 00:00:00 2001 From: dinggang <2498628697@qq.com> Date: Wed, 20 Apr 2022 19:05:35 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B3=E8=B4=AD=E8=BD=A6=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=EF=BC=8C=E9=97=A8=E6=88=B7=E7=9B=B8=E5=85=B3=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../category/controller/CategoryController.java | 14 +++++++------- .../src/main/resources/temp/devModelFile.md | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/renren-admin/src/main/java/io/renren/modules/category/controller/CategoryController.java b/renren-admin/src/main/java/io/renren/modules/category/controller/CategoryController.java index a4b6f832..20f2c329 100644 --- a/renren-admin/src/main/java/io/renren/modules/category/controller/CategoryController.java +++ b/renren-admin/src/main/java/io/renren/modules/category/controller/CategoryController.java @@ -65,13 +65,13 @@ public class CategoryController { categoryDTO.setDelFlag(0); categoryService.save(categoryDTO); //若为一级分类,增加文件夹 - if (ObjectUtil.isNull(categoryDTO.getPid())) { - File file = new File("D:\\新建文件夹\\resource\\" + categoryDTO.getName()); - file.mkdirs(); - if (file.mkdirs()) { - throw new RuntimeException("创建文件夹失败!"); - } - } + //if (ObjectUtil.isNull(categoryDTO.getPid())) { + // File file = new File("D:\\新建文件夹\\resource\\" + categoryDTO.getName()); + // file.mkdirs(); + // if (file.mkdirs()) { + // throw new RuntimeException("创建文件夹失败!"); + // } + //} return new Result(); } diff --git a/renren-admin/src/main/resources/temp/devModelFile.md b/renren-admin/src/main/resources/temp/devModelFile.md index 27ae15a9..60d5f59e 100644 --- a/renren-admin/src/main/resources/temp/devModelFile.md +++ b/renren-admin/src/main/resources/temp/devModelFile.md @@ -1,4 +1,4 @@ -# 开发指南 +# 开发指南 ## 调用说明 请在此处填写能力相关调用说明 业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求业务需求