Update HomeController.java
This commit is contained in:
@@ -8,6 +8,7 @@ import com.macro.mall.portal.domain.HomeContentResult;
|
|||||||
import com.macro.mall.portal.service.HomeService;
|
import com.macro.mall.portal.service.HomeService;
|
||||||
import io.swagger.annotations.Api;
|
import io.swagger.annotations.Api;
|
||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
||||||
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -19,7 +20,8 @@ import java.util.List;
|
|||||||
* Created by macro on 2019/1/28.
|
* Created by macro on 2019/1/28.
|
||||||
*/
|
*/
|
||||||
@Controller
|
@Controller
|
||||||
@Api(tags = "HomeController", description = "首页内容管理")
|
@Api(tags = "HomeController")
|
||||||
|
@Tag(name = "HomeController", description = "首页内容管理")
|
||||||
@RequestMapping("/home")
|
@RequestMapping("/home")
|
||||||
public class HomeController {
|
public class HomeController {
|
||||||
@Autowired
|
@Autowired
|
||||||
|
|||||||
Reference in New Issue
Block a user