From 3e3183c511d5afb938c19345bf0d09cf11c9d5c0 Mon Sep 17 00:00:00 2001 From: dinggang <2498628697@qq.com> Date: Tue, 26 Apr 2022 10:47:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E7=9B=AE=E6=96=B0=E5=A2=9E=E4=B8=80?= =?UTF-8?q?=E7=BA=A7=E5=88=86=E7=B1=BB=E5=88=9B=E5=BB=BA=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E5=BC=80=E5=8F=91=E6=8C=87=E5=8D=97=E6=96=87=E4=BB=B6=E7=9A=84?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=A4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../category/controller/CategoryController.java | 1 - .../controller/DevelopmentGuideController.java | 13 ------------- 2 files changed, 14 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 aff804bf..0b10fa9f 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 @@ -1,6 +1,5 @@ package io.renren.modules.category.controller; -import cn.hutool.core.util.ObjectUtil; import com.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.core.toolkit.ObjectUtils; import io.renren.common.exception.ErrorCode; diff --git a/renren-admin/src/main/java/io/renren/modules/developmentGuide/controller/DevelopmentGuideController.java b/renren-admin/src/main/java/io/renren/modules/developmentGuide/controller/DevelopmentGuideController.java index 4a3da2f9..c14cbe60 100644 --- a/renren-admin/src/main/java/io/renren/modules/developmentGuide/controller/DevelopmentGuideController.java +++ b/renren-admin/src/main/java/io/renren/modules/developmentGuide/controller/DevelopmentGuideController.java @@ -3,23 +3,16 @@ package io.renren.modules.developmentGuide.controller; import io.renren.common.annotation.LogOperation; import io.renren.common.utils.Result; import io.renren.modules.developmentGuide.service.DevelopmentGuideService; -import io.renren.modules.resource.controller.ResourceController; import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParams; import io.swagger.annotations.ApiOperation; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.beans.factory.annotation.Value; import org.springframework.web.bind.annotation.*; import org.springframework.web.multipart.MultipartFile; -import springfox.documentation.annotations.ApiIgnore; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; -import java.io.File; -import java.io.IOException; @RestController @RequestMapping("/developmentGuide") @@ -29,12 +22,6 @@ public class DevelopmentGuideController { @Autowired private DevelopmentGuideService developmentGuideService; - @Value("${resource.devModelFilePath}") - private String devModelFilePath; - - private static Logger logger = LoggerFactory.getLogger(ResourceController.class); - - @GetMapping("/getDevelopmentFile") @ApiOperation("获取开发指南") @LogOperation("获取开发指南")