Эх сурвалжийг харах

Update UmsResourceCategoryController.java

macro 2 жил өмнө
parent
commit
c2fdab3af9

+ 3 - 1
mall-admin/src/main/java/com/macro/mall/controller/UmsResourceCategoryController.java

@@ -5,6 +5,7 @@ import com.macro.mall.model.UmsResourceCategory;
 import com.macro.mall.service.UmsResourceCategoryService;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
+import io.swagger.v3.oas.annotations.tags.Tag;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Controller;
 import org.springframework.web.bind.annotation.*;
@@ -16,7 +17,8 @@ import java.util.List;
  * Created by macro on 2020/2/5.
  */
 @Controller
-@Api(tags = "UmsResourceCategoryController", description = "后台资源分类管理")
+@Api(tags = "UmsResourceCategoryController")
+@Tag(name = "UmsResourceCategoryController", description = "后台资源分类管理")
 @RequestMapping("/resourceCategory")
 public class UmsResourceCategoryController {
     @Autowired