Browse Source

Update OmsCartItemController.java

macro 2 years ago
parent
commit
e78595834f

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

@@ -8,6 +8,7 @@ import com.macro.mall.portal.service.OmsCartItemService;
 import com.macro.mall.portal.service.UmsMemberService;
 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.*;
@@ -19,7 +20,8 @@ import java.util.List;
  * Created by macro on 2018/8/2.
  */
 @Controller
-@Api(tags = "OmsCartItemController", description = "购物车管理")
+@Api(tags = "OmsCartItemController")
+@Tag(name = "OmsCartItemController", description = "购物车管理")
 @RequestMapping("/cart")
 public class OmsCartItemController {
     @Autowired