diff --git a/src/main/java/com/tenlion/twoduty/controller/route/indexWebController.java b/src/main/java/com/tenlion/twoduty/controller/route/indexWebController.java new file mode 100644 index 0000000..4981904 --- /dev/null +++ b/src/main/java/com/tenlion/twoduty/controller/route/indexWebController.java @@ -0,0 +1,37 @@ +package com.tenlion.twoduty.controller.route; + + +import ink.wgink.common.base.DefaultBaseController; +import ink.wgink.interfaces.consts.ISystemConstant; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiImplicitParam; +import io.swagger.annotations.ApiImplicitParams; +import io.swagger.annotations.ApiOperation; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.servlet.ModelAndView; + +/** + * TODO + * @version 1.0 + * @author LY + * @date 2021/4/13 15:40 + */ +@Api(tags = ISystemConstant.API_TAGS_SYSTEM_PREFIX + "后台页面接口") +@RestController +@RequestMapping(ISystemConstant.API_GROUP_ROUTE + "/indexWeb") +public class indexWebController extends DefaultBaseController { + + + @ApiOperation(value = "后台页面首页", notes = "后台页面首页接口") + @GetMapping("getindexweb") + public ModelAndView getIndexWeb(){ + ModelAndView mv = new ModelAndView("web/index"); + return mv; + } + + + +}