|
@@ -6,6 +6,7 @@ import com.macro.mall.model.SmsHomeNewProduct;
|
|
|
import com.macro.mall.service.SmsHomeNewProductService;
|
|
|
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 = "SmsHomeNewProductController", description = "首页新品管理")
|
|
|
+@Api(tags = "SmsHomeNewProductController")
|
|
|
+@Tag(name = "SmsHomeNewProductController", description = "首页新品管理")
|
|
|
@RequestMapping("/home/newProduct")
|
|
|
public class SmsHomeNewProductController {
|
|
|
@Autowired
|