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

Update PmsProductCategoryController.java

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

+ 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