|
@@ -3,23 +3,29 @@ package org.dromara.system.controller.system;
|
|
|
|
|
|
import cn.dev33.satoken.annotation.SaCheckPermission;
|
|
import cn.dev33.satoken.annotation.SaCheckPermission;
|
|
import cn.hutool.core.util.ObjectUtil;
|
|
import cn.hutool.core.util.ObjectUtil;
|
|
|
|
+import jakarta.servlet.http.HttpServletResponse;
|
|
|
|
+import jakarta.validation.constraints.NotEmpty;
|
|
|
|
+import lombok.RequiredArgsConstructor;
|
|
import org.dromara.common.core.domain.R;
|
|
import org.dromara.common.core.domain.R;
|
|
import org.dromara.common.core.validate.QueryGroup;
|
|
import org.dromara.common.core.validate.QueryGroup;
|
|
-import org.dromara.common.web.core.BaseController;
|
|
|
|
import org.dromara.common.log.annotation.Log;
|
|
import org.dromara.common.log.annotation.Log;
|
|
import org.dromara.common.log.enums.BusinessType;
|
|
import org.dromara.common.log.enums.BusinessType;
|
|
import org.dromara.common.mybatis.core.page.PageQuery;
|
|
import org.dromara.common.mybatis.core.page.PageQuery;
|
|
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
|
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
|
|
|
+import org.dromara.common.web.core.BaseController;
|
|
import org.dromara.system.domain.bo.SysOssBo;
|
|
import org.dromara.system.domain.bo.SysOssBo;
|
|
import org.dromara.system.domain.vo.SysOssUploadVo;
|
|
import org.dromara.system.domain.vo.SysOssUploadVo;
|
|
import org.dromara.system.domain.vo.SysOssVo;
|
|
import org.dromara.system.domain.vo.SysOssVo;
|
|
import org.dromara.system.service.ISysOssService;
|
|
import org.dromara.system.service.ISysOssService;
|
|
-import jakarta.servlet.http.HttpServletResponse;
|
|
|
|
-import jakarta.validation.constraints.NotEmpty;
|
|
|
|
-import lombok.RequiredArgsConstructor;
|
|
|
|
import org.springframework.http.MediaType;
|
|
import org.springframework.http.MediaType;
|
|
import org.springframework.validation.annotation.Validated;
|
|
import org.springframework.validation.annotation.Validated;
|
|
-import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import org.springframework.web.bind.annotation.DeleteMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.PathVariable;
|
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RequestPart;
|
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
import java.io.IOException;
|
|
import java.io.IOException;
|