|
@@ -7,6 +7,7 @@ import com.macro.mall.dto.OssPolicyResult;
|
|
import com.macro.mall.service.OssService;
|
|
import com.macro.mall.service.OssService;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
+import io.swagger.v3.oas.annotations.tags.Tag;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@@ -20,7 +21,8 @@ import javax.servlet.http.HttpServletRequest;
|
|
* Created by macro on 2018/4/26.
|
|
* Created by macro on 2018/4/26.
|
|
*/
|
|
*/
|
|
@Controller
|
|
@Controller
|
|
-@Api(tags = "OssController", description = "Oss管理")
|
|
|
|
|
|
+@Api(tags = "OssController")
|
|
|
|
+@Tag(name = "OssController", description = "Oss对象存储管理")
|
|
@RequestMapping("/aliyun/oss")
|
|
@RequestMapping("/aliyun/oss")
|
|
public class OssController {
|
|
public class OssController {
|
|
@Autowired
|
|
@Autowired
|