|
|
|
@ -1,27 +1,17 @@
|
|
|
|
|
package com.xit.biz.cmm.controller;
|
|
|
|
|
|
|
|
|
|
import com.xit.biz.ctgy.dto.MinInfoBoard680Dto;
|
|
|
|
|
import com.xit.biz.ctgy.entity.MinInfoBoard680;
|
|
|
|
|
import com.xit.biz.ctgy.service.ICtgyFileService;
|
|
|
|
|
import com.xit.core.api.IRestResponse;
|
|
|
|
|
import com.xit.core.api.RestResponse;
|
|
|
|
|
import com.xit.core.constant.ErrorCode;
|
|
|
|
|
import com.xit.core.exception.CustomBaseException;
|
|
|
|
|
import com.xit.core.util.AssertUtils;
|
|
|
|
|
import com.xit.core.util.Checks;
|
|
|
|
|
import io.swagger.v3.oas.annotations.Operation;
|
|
|
|
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
|
import org.apache.commons.io.FileUtils;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
|
|
import org.springframework.core.env.Environment;
|
|
|
|
|
import org.springframework.core.io.InputStreamResource;
|
|
|
|
|
import org.springframework.core.io.Resource;
|
|
|
|
|
import org.springframework.http.*;
|
|
|
|
|
import org.springframework.lang.NonNull;
|
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Nonnull;
|
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
import java.io.File;
|
|
|
|
|
import java.io.IOException;
|
|
|
|
@ -32,7 +22,7 @@ import java.nio.file.Path;
|
|
|
|
|
import java.nio.file.Paths;
|
|
|
|
|
import java.util.Arrays;
|
|
|
|
|
|
|
|
|
|
@Tag(name = "CtgyFileMgtController", description = "공지사항 / 게시판 관리")
|
|
|
|
|
@Tag(name = "CmmFileController", description = "파일 관리")
|
|
|
|
|
@RestController
|
|
|
|
|
@RequiredArgsConstructor
|
|
|
|
|
@RequestMapping("/api/v1/ctgy/cmm")
|
|
|
|
|