浏览代码

Update PmsProductCategoryController.java

macro 2 年之前
父节点
当前提交
c27025d433
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      mall-admin/src/main/java/com/macro/mall/controller/PmsProductCategoryController.java

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

@@ -8,6 +8,7 @@ import com.macro.mall.model.PmsProductCategory;
 import com.macro.mall.service.PmsProductCategoryService;
 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.validation.annotation.Validated;
@@ -20,7 +21,8 @@ import java.util.List;
  * Created by macro on 2018/4/26.
  */
 @Controller
-@Api(tags = "PmsProductCategoryController", description = "商品分类管理")
+@Api(tags = "PmsProductCategoryController")
+@Tag(name = "PmsProductCategoryController", description = "商品分类管理")
 @RequestMapping("/productCategory")
 public class PmsProductCategoryController {
     @Autowired