Browse Source

Update SmsHomeRecommendProductController.java

macro 2 years ago
parent
commit
952abca449

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

@@ -6,6 +6,7 @@ import com.macro.mall.model.SmsHomeRecommendProduct;
 import com.macro.mall.service.SmsHomeRecommendProductService;
 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.*;
@@ -17,7 +18,8 @@ import java.util.List;
  * Created by macro on 2018/11/6.
  */
 @Controller
-@Api(tags = "SmsHomeRecommendProductController", description = "首页人气推荐管理")
+@Api(tags = "SmsHomeRecommendProductController")
+@Tag(name = "SmsHomeRecommendProductController", description = "首页人气推荐管理")
 @RequestMapping("/home/recommendProduct")
 public class SmsHomeRecommendProductController {
     @Autowired