编目新增一级分类创建保存开发指南文件的文件夹
This commit is contained in:
parent
d1d2e5ed65
commit
3e3183c511
|
@ -1,6 +1,5 @@
|
||||||
package io.renren.modules.category.controller;
|
package io.renren.modules.category.controller;
|
||||||
|
|
||||||
import cn.hutool.core.util.ObjectUtil;
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.baomidou.mybatisplus.core.toolkit.ObjectUtils;
|
import com.baomidou.mybatisplus.core.toolkit.ObjectUtils;
|
||||||
import io.renren.common.exception.ErrorCode;
|
import io.renren.common.exception.ErrorCode;
|
||||||
|
|
|
@ -3,23 +3,16 @@ package io.renren.modules.developmentGuide.controller;
|
||||||
import io.renren.common.annotation.LogOperation;
|
import io.renren.common.annotation.LogOperation;
|
||||||
import io.renren.common.utils.Result;
|
import io.renren.common.utils.Result;
|
||||||
import io.renren.modules.developmentGuide.service.DevelopmentGuideService;
|
import io.renren.modules.developmentGuide.service.DevelopmentGuideService;
|
||||||
import io.renren.modules.resource.controller.ResourceController;
|
|
||||||
import io.swagger.annotations.Api;
|
import io.swagger.annotations.Api;
|
||||||
import io.swagger.annotations.ApiImplicitParam;
|
import io.swagger.annotations.ApiImplicitParam;
|
||||||
import io.swagger.annotations.ApiImplicitParams;
|
import io.swagger.annotations.ApiImplicitParams;
|
||||||
import io.swagger.annotations.ApiOperation;
|
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.Autowired;
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
import org.springframework.web.multipart.MultipartFile;
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
import springfox.documentation.annotations.ApiIgnore;
|
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
import java.io.File;
|
|
||||||
import java.io.IOException;
|
|
||||||
|
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/developmentGuide")
|
@RequestMapping("/developmentGuide")
|
||||||
|
@ -29,12 +22,6 @@ public class DevelopmentGuideController {
|
||||||
@Autowired
|
@Autowired
|
||||||
private DevelopmentGuideService developmentGuideService;
|
private DevelopmentGuideService developmentGuideService;
|
||||||
|
|
||||||
@Value("${resource.devModelFilePath}")
|
|
||||||
private String devModelFilePath;
|
|
||||||
|
|
||||||
private static Logger logger = LoggerFactory.getLogger(ResourceController.class);
|
|
||||||
|
|
||||||
|
|
||||||
@GetMapping("/getDevelopmentFile")
|
@GetMapping("/getDevelopmentFile")
|
||||||
@ApiOperation("获取开发指南")
|
@ApiOperation("获取开发指南")
|
||||||
@LogOperation("获取开发指南")
|
@LogOperation("获取开发指南")
|
||||||
|
|
Loading…
Reference in New Issue