ソースを参照

Update PmsPortalProductController.java

macro 2 年 前
コミット
9b97273beb

+ 3 - 1
mall-portal/src/main/java/com/macro/mall/portal/controller/PmsPortalProductController.java

@@ -9,6 +9,7 @@ import com.macro.mall.portal.service.PmsPortalProductService;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiImplicitParam;
 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.*;
@@ -20,7 +21,8 @@ import java.util.List;
  * Created by macro on 2020/4/6.
  */
 @Controller
-@Api(tags = "PmsPortalProductController", description = "前台商品管理")
+@Api(tags = "PmsPortalProductController")
+@Tag(name = "PmsPortalProductController", description = "前台商品管理")
 @RequestMapping("/product")
 public class PmsPortalProductController {